mysql connection problem
hi every one , i have problem with mysql connection.
i try to connect like this
mysql -u root mysql
then i got connection error like this
Error 1045:access denied for user: 'root@localhost' (using password No)
I suspect it is my host name problem because i am still using localhost as my shell still prompt:
[root@localhost]#
Can anyone tell me how can i make a connection with mysql. My PC is connected to a LAN with dynamic IP address.
What is error 1045. Where can i check for this error.
My other linux box that is not connected to LAN works fine without error with host name localhost. ????
Thanks for your help.
|