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