help

A

Anonymous

Guest
can anyone help?

localhost/form.php
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
 
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:
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
 
Back
Top