You are not logged in.

#1 2005-09-13 17:33:55

From: Europe/Helsinki
Registered: 2004-03-19
Posts: 254

mysql error / install problems

after following the wiki entry: LAMP

I get error:
$ mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

I'm out of luck here, does anyone have suggestions for where to look?



#2 2005-09-13 18:03:22

From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,446

Re: mysql error / install problems

How do you try to connect? Seems root is not allowed to connect from host "localhost" without the passwd..

This fails:

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

But this does well:

mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or g.
Your MySQL connection id is 2 to server version: 4.1.14

Type 'help;' or 'h' for help. Type 'c' to clear the buffer.


Frumpus addict
[mu'.krum.pus], [frum.pus]


Board footer

Powered by FluxBB