How to use phpmyadmin.... phpmyadmin related arguments. Even phpMyAdmin issues

Moderators: egami, macek, gesf

Post Reply

Sat Oct 20, 2012 6:40 am

can anyone help?

warning:myysql_connect():access denied for user'abc'@'localhost'(using password:yes) in c:\xampp\htdocs\form.php on line 2

xampp security
The MySQL admin user root has no password unsecure

php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Wed Nov 14, 2012 10:10 am

The easiest thing to do would be to correct your call to mysq_connect() to use the correct credentials. or you could just create the user you're trying to log in with, and give it the privileges you want it to have. Can do that in the mysql console by typing:

Code: Select all

GRANT all privileges on dbname.* to 'abc'@'localhost' identified by 'password';
where dbname is the name of the db, and if you don't want the user to have all privileges you can look up the specific ones to give, and replace password with whatever you want the password to be

Post Reply