5 messages in com.mysql.lists.win32Re: Mysql Root User
FromSent OnAttachments
Michael G. Tracey20 May 2003 16:57 
Gabriel-Dumitrel MOSCALU20 May 2003 18:25 
Michael G. Tracey20 May 2003 19:23 
Gabriel-Dumitrel MOSCALU20 May 2003 22:05 
leshaussebons21 May 2003 09:55 
Subject:Re: Mysql Root User
From:Gabriel-Dumitrel MOSCALU (gabr@ferma.fr)
Date:05/20/2003 06:25:08 PM
List:com.mysql.lists.win32

Hi Michael,

Would you try:

C:\mysql\bin\mysql -u root -h localhost -p

See if it works and get back to me.

Crdlt Gabriel

I have Mysql 4.1 running as service on Win2k.

I cannot access the user database.

I have changed my root password.

I followed the instructions from the manual below.

;C:\> C:\mysql\bin\mysql mysql

;mysql> DELETE FROM user WHERE Host='localhost' AND User='';

;mysql> QUIT

;C:\> C:\mysql\bin\mysqladmin reload

;C:\> C:\mysql\bin\mysqladmin -u root password your_password

I tried to invoke first line "mysql mysql". Access denied.

I was able to delete from user.

I specified the Password.

I even called Mysqladmin and my password worked for it.

After that, i'm stumped.

I can't access the user database. I thought "user root" was the superuser here.

What am I doing wrong? Since I deleted the localhost and anonymous user should I not be actually logged in as User Root?