[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 -u root -p 后面是不是加了分号了。
正确答案是不加分号,加了分号就会出现以上警告。
其他情况请看其他大佬。
[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 -u root -p 后面是不是加了分号了。
正确答案是不加分号,加了分号就会出现以上警告。
其他情况请看其他大佬。