Try the following:
give a username and the password for the user like:
# mysql -h localhost -u root -p
mysql should then prompt you for the password.
If you haven't set up a root password yet you shoul dbe prompted to do
And if you have a root password then the upper syntax should work..
On Thu, 1 Jul 1999, Rosmon Sidhik wrote:
> hi ,
> I have a problem when using some of the databases in mysql ( including
> the grant tables).
> The following is the output I get when I try to use the databases ( some
> of them.).
> # ./bin/mysql mysql (# is the root prompt)
> ERROR 1044: Access denied for user: '@localhost' to database 'mysql' .
> Rosmon .
|• Query?||Rosmon Sidhik||1 Jul|
| • Re: Query?||Ritschie||1 Jul|