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


Messages In This Thread
mysql connection failed - by DavidBilla - 14.06.2014, 16:15
Re: mysql connection failed - by iZN - 14.06.2014, 16:26
Re: mysql connection failed - by DavidBilla - 14.06.2014, 16:35
Re: mysql connection failed - by Inn0cent - 14.06.2014, 16:55
Re: mysql connection failed - by DavidBilla - 15.06.2014, 05:57
Re: mysql connection failed - by DavidBilla - 15.06.2014, 13:54
Re: mysql connection failed - by DavidBilla - 15.06.2014, 16:07

Forum Jump:


Users browsing this thread: 1 Guest(s)