mysql connection failed
#1

Well ,i was trying to make a mysql register system in a blank gamemode and when i try opening the samp-server.exe ,it gave out an error saying mysql connection failed. It looked exactly liked the following line

Код HTML:
[MySQL] Error (0): Failed to connect. Access denied for user 'root'@'localhost' (using password: YES).
and the mysql log reads as

Код HTML:
[Sat Jun 14 22:01:35 2014] -------------------------
[Sat Jun 14 22:01:35 2014]      Logging Started
[Sat Jun 14 22:01:35 2014] -------------------------
[Sat Jun 14 22:01:35 2014] Function: mysql_init executed with result: "0".
[Sat Jun 14 22:01:35 2014] Error (0): Failed to connect. Access denied for user 'root'@'localhost' (using password: YES).
[Sat Jun 14 22:01:50 2014] Error (0): Function: mysql_close called when not connected to any database. Access denied for user 'root'@'localhost' (using password: YES).
[Sat Jun 14 22:01:50 2014] -------------------------
[Sat Jun 14 22:01:50 2014]       Logging Ended
[Sat Jun 14 22:01:50 2014] -------------------------
for more info
I'm using strickenkid's mysql plugin and xampp to create database...
i don't know what i'm doing wrong,since im completely new to mysql.

i used hostname as "127.0.0.1" , Username "root" , Password "" , database "server".

hope someone could help me out...
Reply
#2

Use hostname 'localhost' that should solve it and are you sure about the password?
Reply
#3

Quote:
Originally Posted by iZN
Посмотреть сообщение
Use hostname 'localhost' that should solve it and are you sure about the password?
Well i changed the name to localhost but still the problem occurs,i'm not really sure what my default password is or how i could change it...
Reply
#4

You are sure, that your mysql is running.
Reply
#5

still having the issue ,hope someone could help me...
Reply
#6

Help please...
Reply
#7

Bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)