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

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 5
Joined: Fri Oct 19, 2012 9:43 pm


Postby serene84 » 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: 921
Joined: Mon Oct 01, 2012 12:32 pm

Re: help

Postby seandisanti » 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

Return to “phpMyAdmin”

Who is online

Users browsing this forum: No registered users and 1 guest