在配置mysql主从同步的时候通常需要设置主库为只读,可以通过以下方式实现。 设置命令:
mysql> set global read_only=1;
查看设置结果:
mysql> show global variables like "%read_only%";
恢复命令:
mysql> set global read_only=0;
在配置mysql主从同步的时候通常需要设置主库为只读,可以通过以下方式实现。 设置命令:
mysql> set global read_only=1;
查看设置结果:
mysql> show global variables like "%read_only%";
恢复命令:
mysql> set global read_only=0;
报错: ``` nginx: [emerg] dlopen() "/opt/nginx/modules/ngx_http_brotli_filter_module.so" failed (libbrotlienc.so.1: cannot open shared object file: No su...
报错如下: ``` nginx: [emerg] module "/opt/nginx/modules/ngx_http_brotli_filter_module.so" version 1028001 instead of 1026002 in /opt/nginx/conf/nginx.conf...
成为第一个评论的人吧!