[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] MySQL database creation error...



Ahoy Scott


> When trying to create my first database in MySQL:
>
> [admin@ns bin]$ mysqladmin -p create filename
> Enter password:
>
> I am getting the following error:
>
> mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user: 'admin@localhost' (Using password: YES)'
>
> Does anyone have any ideas as to why I can't connect?


I had the exact same deal. Finally solved it just a couple of days ago,
thus:

su -
<password>
ps -aux | grep mysql
kill <pid>
mv /var/lib/mysql /var/lib/mysql.bak
/usr/bin/mysql_install_db


Aloha