How to login in MySQL with a Non Root user

Mar 12, 2012   //   by   //   Blog, MySQL Tutorial  //  No Comments

I have setup two user userone and usertwo in Mysql. But when I open localhost/phpmyadmin it logins with root user.

What URL is used to login with userone or usertwo user. I am running Mysql from XAMPP.

Find the phpmyadmin installation or project file
Open the file called
Inside you will find details to change the username and password

$cfg['Servers'][$i]['user']          = 'userone';

$cfg['Servers'][$i]['password']      = 'cbb74bc'; // use here your password

$cfg['Servers'][$i]['auth_type']     = 'config';

Leave a comment

Share This Post

RSS Wordpress News