Localhost connection to MySQL fails ?

Hubertus Hiden hubertus at hiden.org
Sun Sep 18 08:35:11 UTC 2005


Hi Holger,

have you tried
    mysql -u user -p
or
    mysql -u user
?

"Access denied (using password no)" usually comes from a missing -p on
the command line

Hope it helps
Hubertus

Holger Rumland schrieb:

>Hi everyone,
>I tried to connect to the installed MySQL server local with the GUI
>Admin tool and with the command line described in the Ubuntu Guide.
>Unfortunate I get the following error message:
>
>"mysqladmin: connect to server at 'localhost' failed
>error: 'Access denied for user 'root'@'localhost' (using password: NO)'"
>
>How do I make it happen that I can connect via localhost ???
>
>(have also installed firestarter firewall, but disabling or changing
>rules didn't help)
>
>Thanks for any help in advance.
>
>Holger 
>
>
>
>  
>





More information about the ubuntu-users mailing list