MySQL 'root' user has got nothing to do with Unix 'root' user. Quoted from
http://www.mysql.com/doc/C/h/Changing_MySQL_user.html  is
"Note that accessing MySQL as root, by supplying -u root on the command
line, has nothing to do with MySQL running as the Unix root user, or,
indeed, as another Unix user. The access permissions and user names of MySQL
are completely separate from Unix user names. The only connection with Unix
user names is that if you don't provide a -u option when you invoke a client
program, the client will try to connect using your Unix login name as your
MySQL user name."

You might also want to check out:
http://www.mysql.com/doc/U/s/User_Account_Management.html


Gurhan

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Tom
McDonough
Sent: Thursday, April 25, 2002 10:40 AM
To: [EMAIL PROTECTED]
Subject: Re: ERROR 1045: Access denied for user: 'root@localhost'


I am having the same problem and cannot find any document which can get
me beyond Access denied...
Could you explain the difference between Linux 'root' user and 'root'
user in MySQL?

Subject: Re: ERROR 1045: Access denied for user: 'root@localhost'
From: Victoria Reznichenko
Date: Tue, 23 Apr 2002 16:38:01 +0300


>> [root@omsrh etc]# mysql
>> ERROR 1045: Access denied for user: 'root@localhost' (Using password:
NO)

   It means that anonymous user doesn't have any privileges ...
   Unix 'root' user and 'root' user in MySQL are different ...




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to