Closed zhyq0826 closed 5 years ago
ERROR 1396 (HY000): Operation CREATE USER failed for 'user'@'localhost'
use mysql; select * from user; delete from user where user='user' flush PRIVILEGES CREATE USER 'user'@'localhost' IDENTIFIED BY 'passwd';
mysqldump --databases dbname -hlocalhost -uroot --password=passwd --port=3306 --no-data --skip-comments > dbname.sql
mysql 创建用户错误 ERROR 1396 (HY000)
ERROR 1396 (HY000): Operation CREATE USER failed for 'user'@'localhost'
mysql dump table structure