17.02.2012, 19:46
Hello there,
I am having trouble with an MySQL connection. The console shows following errors and an instant kick or a reconnect follows after an attempt to login.
The plugins are loaded, and seem to return no errors. I have used nativechecker to make sure that the GM is compiled with the correct includes, and that all plugins are loaded. libmysql.dll is in the root of the server, with an updated a_mysql.inc include in pawno/includes, as well as mysql.dll in plugins folder. The mysql plugin I'm using is the one from StrickenKid. Excuse me on the lack of memory for it's correct name.
EDIT:// sscanf is latest btw.
I am running the database on localhost port 8080. I am using USBWebServer software to run this, which supports Apache and MySQL. These are the following values to connect with the database, not sure if correct, defined in the gamemode itself.
I tried defining the host using "localhost" and "127.0.0.1:8080" too, but none of these worked. I'd appreciate some help on this one as I'm puzzled.
Thanks and regards,
HighFlyer
I am having trouble with an MySQL connection. The console shows following errors and an instant kick or a reconnect follows after an attempt to login.
Код:
[20:31:27] Incoming connection: 127.0.0.1:56888 [20:32:03] Incoming connection: 127.0.0.1:54473 [20:32:03] [join] [SATC]HighFlyer has joined the server (0:127.0.0.1) [20:32:06] [DEBUG]: Password: [20:32:06] [DEBUG]: bigstr: SELECT * FROM `satc players` WHERE `name` = '' [20:32:06] sscanf warning: String buffer overflow. [20:32:06] [LOGIN]: Playerid (0) ERROR! MYSQL SSCANF FORMAT IS BROKEN ! [20:32:06] [part] [SATC]HighFlyer has left the server (0:2) [20:32:16] Incoming connection: 127.0.0.1:54474 [20:32:16] [join] [SATC]HighFlyer has joined the server (0:127.0.0.1) [20:32:18] [DEBUG]: Password: [20:32:18] [DEBUG]: bigstr: SELECT * FROM `satc players` WHERE `name` = '' [20:32:18] sscanf warning: String buffer overflow. [20:32:18] [LOGIN]: Playerid (0) ERROR! MYSQL SSCANF FORMAT IS BROKEN ! [20:32:18] [part] [SATC]HighFlyer has left the server (0:2)
EDIT:// sscanf is latest btw.
I am running the database on localhost port 8080. I am using USBWebServer software to run this, which supports Apache and MySQL. These are the following values to connect with the database, not sure if correct, defined in the gamemode itself.
Код:
// ========================== | - Script Configuration - | ========================== // Script Configuration - MySQL: // HOST: #define SQL_HOST "localhost:8080" #define SQL_USER "root" #define SQL_PASS "usbw" #define SQL_DB "satc"
Thanks and regards,
HighFlyer