Re: Can't use MySQL - 1044 Access denied - From a beginner
Thanks for your help. I think I found the problem. I would go to the directory using
shell>cd /usr/local/mysql/
and then try typing
shell>mysql -u root -p
and I would keep getting a 'mysql command not found'. I can't seem to access the database by simply typing 'mysql'. So what I did was access MySQL the only way I know how which is to type
shell>/usr/local/mysql/bin/mysql
but I changed it so I was logging in as root.
shell>/usr/local/mysql/bin/mysql -u root -p
So the real problem is that I haven't modified my $PATH and I'm not sure how to. According to the install instructions I have I'm suppose to modify the '.bash_profile' or create a new one and place it in the home directory. I'm a little unsure on exactly how to do this.
Subject
Written By
Posted
Re: Can't use MySQL - 1044 Access denied - From a beginner
August 21, 2005 02:56PM
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.