MYSQL Errors
#1

I am running a gamemode which supports mysql database i need help as i am getting some errors well the error is that i entered correct mysql information but i get the error

Quote:

[MySQL] Error (0): Failed to connect. Access denied for user 'cnr'@'localhost' (using password: YES).

even tho my pass is correct and the mysql information is also correct even if i dont add a pass i get this error
my mysql_connect line:

Quote:

mysql_connect("127.0.0.1", "cnr", "cnr", "i0tykunhp7", connection, 1);

Can someone help please :/
Reply
#2

Wrong password. Change it on xampp.

EDIT: Username in localhost is always "root".
Reply
#3

Still getting the same error


[MySQL] Error (0): Failed to connect. Access denied for user 'root'@'localhost' (using password: YES).

mysql_connect line:
Quote:

mysql_connect("127.0.0.1", "root", "cnr", "", connection, 1);

Tried it on wamp getting these errors :/

EDIT: I am not using pass and its showing "(using password: YES)" cant understand why :/
Reply
#4

Delete then install xampp again.
Reply
#5

Quote:
Originally Posted by Galhardo
Посмотреть сообщение
Delete then install xampp again.
If i try some other script it works and the prob is also occurring in the server which i purchased
Reply
#6

Bump!!! Anyone?
Reply
#7

I contacted the host and he said
Quote:

Mysql remote works fine, you can test it with php code:

mysql_connect("my host", "my user", "mydb") or die(mysql_error());

mysql_select_db("my db") or die(mysql_error());

echo "ok";
?>

Problem is probably in myslq plugin, is too old (last update 2011).
Mysql plugin is use old mysql library with old unsupported authentication, so newer mysql servers can't accept connection.
- Zlatko Poljovka
- KGB Hosting Support

so any help?
Reply
#8

Anyone??
Reply
#9

Noone ?? :/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)