# mysql
ERROR 1045 (28000): Access denied for user ‘root’@'localhost’ (using password: NO)
Create a file .my.cnf in /root .
Insert below detail to .my.cnf
[client]
user=root
pass=mysql root password
Walking at Mars
# mysql
ERROR 1045 (28000): Access denied for user ‘root’@'localhost’ (using password: NO)
Create a file .my.cnf in /root .
Insert below detail to .my.cnf
[client]
user=root
pass=mysql root password
Posted in LAMP.
– January 12, 2009
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.
hehe i assume that you are using bash in linux environment