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.