MySQL can't connect, beacuse of access denied.
#2

Код:
[Mon Dec 09 21:10:07 2013] Error (0): Failed to connect. Access denied for user 'root'@'localhost' (using password: YES).
>> Using password : Yes,
You use password in your connection
Код:
mysql_connect("127.0.0.1", "root", "add your password here!", "cnr", connection, 1);//missing password!
Correct usage
Код:
mysql_connect(mysqlhost, mysqluser, mysqlpassword, mysqldatabase, mysql);
Reply


Messages In This Thread
MySQL can't connect, beacuse of access denied. - by TheDeath - 09.12.2013, 18:07
Re: MySQL can't connect, beacuse of access denied. - by SilentSoul - 09.12.2013, 18:08
Re: MySQL can't connect, beacuse of access denied. - by TheDeath - 09.12.2013, 18:12
Re: MySQL can't connect, beacuse of access denied. - by TheDeath - 09.12.2013, 18:23

Forum Jump:


Users browsing this thread: 1 Guest(s)