mysql:ERROR 3678 (HY000) at line 1: Schema directory './zabbix' already exists.

1,故障现象:

mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 3678 (HY000) at line 1: Schema directory './zabbix' already exists. This must be resolved manually (e.g. by moving the schema directory to another location).

2,解决办法:

建库时报已经存在该数据库文件夹了。但通过 mysql-client连接发现不存在。

[root@localhost mysql]# rm -rf zabbix/

 再次建库,就可以成功完成

猜你喜欢

转载自www.cnblogs.com/kaishirenshi/p/12766834.html