LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mysql problem !!! (https://www.linuxquestions.org/questions/linux-newbie-8/mysql-problem-322056/)

hus 05-10-2005 01:51 PM

mysql problem !!!
 
[3]+ Stopped vim db_conf.php
[root@www config]# mysql
ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)
[root@www config]# mysql -u root
ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)
[root@www config]# mysql -u root -p
Enter password:
ERROR 1045: Access denied for user: 'root@localhost' (Using password: YES)
[root@www config]#

what happen ?
Why I can't login to mysql prompt ?

Thanks in advance.

trickykid 05-10-2005 01:55 PM

Did you change your hostname after setting up mysql? Did you ever setup root to have a login from localhost? Did you remove that access from localhost? Did you setup any other users with access to login and hopefully have full access?


All times are GMT -5. The time now is 06:35 AM.