Click to See Complete Forum and Search --> : Deleted the root acount and now can;t get in.


AltF4
10-09-2006, 10:47 AM
The title says it, but I get this messge:



Welcome to phpMyAdmin 2.9.0.2

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in config.inc.php and make sure that they correspond to the information given by the administrator of the MySQL server.
Error

MySQL said: Documentation
#1045 - Access denied for user 'root'@'localhost' (using password: NO)

All I want to do is reset ALL of the files. How do I do that?

LiLcRaZyFuZzY
10-09-2006, 11:37 AM
did you delete the `mysql` dB/ the `user` table? or just the `root` user from the `mysql.user` table?

do you know how to access mysql through the command line?

AltF4
10-09-2006, 11:53 AM
No I do not. I just deleted the root account and made a new one.

chazzy
10-09-2006, 12:09 PM
phpMyAdmin has a config file somewhere ( i think it's literally config.php ) that contains the dba level user that it connects as.

is this on your own private machine or a hosted system? if it's hosted, they should be able to fix it for you.

AltF4
10-09-2006, 12:16 PM
I am hosting it, and I cannot find where in the config.php file.

Is there a way JUST to redo all the files back to default?

chazzy
10-09-2006, 12:28 PM
you can just go ahead and reinstall it, that should work.

LiLcRaZyFuZzY
10-09-2006, 12:33 PM
you could also just overwrite the "mysql" folder in mysql/data
i'll send you the compressed version

AltF4
10-09-2006, 12:35 PM
I did. It is localhost if that helps.

LiLcRaZyFuZzY
10-09-2006, 12:36 PM
what?! now im confused,
you did reinstall it, and it still doesn't work?