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

Quote:
Originally Posted by SilentSoul
Посмотреть сообщение
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);
I already have written that there is no password. It's just a blank field. I also created new user with password and tried to run it but it doesn't work with password too.
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)