Web Hosting Talk







View Full Version : How to set user password on MySQL and change it


Atif Munir
04-20-2002, 01:16 AM
Hello,

Right now, I can access mysql without any passwd:

------------------------------------
[root@BusyBoy html]# mysql -u munir
------------------------------------

It connects fine and I get access but I wish to set a password on this user.

I need the command to set and edit/change the passwords of MySql

Regards,

Atif.

roly
04-20-2002, 01:53 AM
http://www.phpmyadmin.net
it gives you those features (user management, etc...) if u set some stuff in the config.inc.php file

webx
04-20-2002, 06:15 PM
Use 'mysqladmin' to setup password. Currently there is no password set, so it is not asking any password.