FC-4 mySQL-Server Problems

nodata fedora at nodata.co.uk
Fri Jul 22 11:19:14 UTC 2005


> My mySQL-server screwed up, dropped all users, and will not let me in.
>
> Whatever I do I get the following error-message "DBI connect failed :
> Access denied for user ''@'localhost' to database 'mysql'"
>
> I've tried to reinstall the server w/o success.
>
> How do I restore the functionality?
>
> With best regards
>
> Tomas Larsson
> Sweden
>
> Verus Amicus Est Tamquam Alter Idem
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

You want to troubleshoot with
 mysql -u root -p password
 mysql -u root -p password -h 127.0.0.1
 mysql -u root -p password -h localhost
rather than with DBI.

If that fails, start the mysql daemon with the --skip-grant-tables option
and browse the tables in the mysql database for clues.




More information about the fedora-list mailing list