You are not logged in.

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

murkus
Member
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?

.murkus

Offline

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

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,443

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.

mysql>

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

Offline

Board footer

Powered by FluxBB