mysql: [Warning] Using a password on the command line interface can be insecure. ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
错误情况
解决办法:
首先查看mysql的命令
其次修改root用户的密码 set password for 'root'@'localhost' = password('123456');
最后退出mysql,用新的用户名和密码登入即可