#1045 Cannot log in to the MySQL server
- by user1198291
I am totally new in linux/ubuntu
I am trying to setup lamp on my OS, however I've installed apache , php , mysql by following commands:
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
sudo apt-get install phpmyadmin
everything works fine except that i totally cannot log into MySQL(which leads to phpmyadmin failure login) getting the errors :
#1045 Cannot log in to the MySQL server
Access denied for user 'root'@'localhost' (using password: YES)
I googled the problem and also I have tried to reinstall all installed components, but the same result came up!
in windows i usually modified the content of mysql configure file but in ubuntu nothing is as same as windows!:)
can anybody help me on this, really need to setup lampp :-S
thanks in advanced