MySql lost connection on query
#1

It's kinda dumb asking this question, but when I send a query to my localhost, everything works fine as it should. But when it comes for my host from GoDaddy, it shows me this cute error on server log.
Код:
errorid: 2013 | error: Lost connection to MySQL server during query
Tried so many way, such as
*) Breaking my query
*) Change the size of query
*) Changing host -_-

The query I used:
pawn Код:
format(sQuery, sizeof(sQuery), "INSERT INTO `playervehicles` \
VALUES('0', '%d','%s','%s','%d','2811.12','928.864','10.709','20','1387','704.609','10.709', \
'20','0','6','229','0','1','1','3','0','New')"
, Selected_VEHID[playerid], VehicleNames[Selected_VEHID[playerid]-400], PlayerName(playerid), Selected_VEHPRICE[playerid]);
mysql_query(sQuery);
Note: Only works for my localhost.
Reply
#2

What MySQL plugin version are you using?
Reply
#3

The plugin I am using is by BlueG (R6) for my gamemode. Server version: 5.5.41-cll-lve - MySQL Community Server (GPL) is running on my mysql host.
Reply
#4

I would like to bump this post as I still having the same issue.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)