postfixadmin 导入数据库出错 ERROR 1062 (23000) at line 29

ERROR 1062 (23000) at line 29: Duplicate entry 'localhost-postfix-postfix' for key 1 解决方法

[root@nagios-server postfixadmin]# mysql -uroot -p111111 <DATABASE_MYSQL.TXT
ERROR 1062 (23000) at line 29: Duplicate entry 'localhost-postfix-postfix' for key 1

 

删除user和db里面的postfix用户

 

[root@nagios-server postfixadmin]# mysql -uroot -p111111 <DATABASE_MYSQL.TXT

你可能感兴趣的:(error,职场,at,line,休闲,postfixadmin,1062,导入数据库出错,(23000),29)