Try this : /etc/init.d/mysqld stop safe_mysqld --user=root --pid-file=/usr/local/mysql/data/mysqld.pid --skip-grant-tables & mysql -u root mysql This way you can enter mysql in safe mode .. and see what the problem is ! On 7/22/05, Tomas Larsson <ktl@xxxxxxxxxx> wrote: > 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@xxxxxxxxxx > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list > > > -- ------------------------------ Mircea Hutanu voodookid@xxxxxxxxx ------------------------------