If you are ruing as user mysql do....

chown -R root /usr/local/mysql
chown -R mysql /usr/local/mysql/var
chgrp -R mysql /usr/local/mysql

Change to sute tast (or what you database is)

Simon 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 24 April 2002 13:51
To: [EMAIL PROTECTED]
Subject: Fw: user problem





I have mysql installed on a linux platform.  I have no problem running every
thing as root.  When  I try to run mysql as a user other than root, I
entered command use mysql. I get error  1044:access denied for
user:@localhost to database 'mysql'.

is there a file that I need to change the permissions on or change the group
in a var or usr subdirectory.

Thank you for your help on this matter.

Kenn Ward

---------------------------------------------------------------------
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