Unable to login in MySQL database after installation

2004-12-08 Thread Mysql Plusplus
Hi, After I installed rpm packages on my system, I am unable to connect to the databse. I have installed in the following order 1)Server 2)Client 3)Devel 4)Shared Compat After starting the databse with: /etc/rc.d/init.d/mysql start I am unable to login as: /usr/bin/mysqladmin -u root

Re: Unable to login in MySQL database after installation

2004-12-08 Thread Mário Gamito
Hi, Most likely your MySQL has no password for root in the default instalation. Try: # mysql -u root -p and simly press enter when asked for the password. Worked ? Alright, so now it's time to give root a password: # mysqladmin -u root password 'my_secret_password' That's all that there is to it