MySQL学习笔记——ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

 Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

解决办法:

 # mysqladmin -uroot -p password 'newpassword'
Enter password:
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'

mysql -u root -p

MySQL学习笔记——ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

上一篇:PHP中常用的正则表达式由哪些元素构成?


下一篇:论文笔记:Selective Search for Object Recognition