好友
阅读权限10
听众
最后登录1970-1-1
|
mysql容器下my.cnf配置文件如下。请问各位大佬,我应该如何做才能复制一个库到另一个空库。实现本机备份。
[client]
default-character-set=utf8
[mysql]
default-character-set=utf8
[mysqld]
back_log=500
wait_timeout=1800
max_connections=1000
max_user_connections=800
default-storage-engine= InnoDB
key_buffer_size=384M
innodb_buffer_pool_size=1024M
init-connect='SET NAMES utf8'
character-set-server = utf8
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
lower_case_table_names=1
collation-server = utf8_unicode_ci
interactive_timeout=7200
max_allowed_packet = 20M
log_timestamps=SYSTEM
log-bin=/var/lib/mysql/mysql-bin
server-id=123454
binlog-format=ROW
|
|
发帖前要善用【论坛搜索】功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。 |
|
|
|
|