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/

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

 

posted @ 2020-04-24 13:16  开始认识  阅读(3308)  评论(0编辑  收藏  举报