MySQL Forums
Forum List  »  Newbie

Re: Can't use MySQL - 1044 Access denied - From a beginner
Posted by: Sarabjit Singh
Date: August 21, 2005 03:50PM

when you type 'mysql' at the command line, you're using the utility 'mysql' which allows you to access the database...

the reason it wasn't working when you tried:
shell>cd /usr/local/mysql/
shell>mysql -u root -p

is that this utility is in the bin folder (hence: /usr/local/mysql/bin/mysql), and not in the mysql folder - thus the 'command not found' message...

you can therefore, get it to work by making a small change:
shell>cd /usr/local/mysql/bin/
shell>mysql -u root -p

as for how to modify $path, you can find some info here (i haven't done that myself, so i can't give you much information): http://www.entropy.ch/phpbb2/viewtopic.php?p=237&;

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.