02.01.2011, 12:12
Please help me in my query problem:
https://sampforum.blast.hk/showthread.php?tid=205807
https://sampforum.blast.hk/showthread.php?tid=205807
public OnGameModeExit
{
mysql_close();
return 1;
}
[Mon Jan 03 23:26:08 2011] MySQL closed. Logging ended. [Mon Jan 03 23:26:08 2011] MySQL closed. Logging ended.
Why the server crashes, when i create over 3 connections to the same database ?
|
#define HOST_ADDR "127.0.0.1"
#define HOST_USER "usernameofdatabasehere"
#define HOST_PASS "passwordhere"
#define HOST_DATA "databasehere"
new MySQL:connection = mysql_init(LOG_ONLY_ERRORS);
mysql_connect(HOST_ADDR, HOST_USER, HOST_PASS, HOST_DATA, connection, 1);
#define TABLENAME1 Accounts
#define TABLENAME2 Bans
#define TABLENAME3 Cars
Linux: http://www.mediafire.com/?qe672r1vl4pusvj Windows: http://www.mediafire.com/?wdxal0eq1zg1cxc Source: http://www.mediafire.com/?11ck8iaz7ukf9s4
plugin: mysql.so [12:20:21] Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by plugins/mysql.so)) |
---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3c, ©2005-2010 SA-MP Team [12:33:36] [12:33:36] Server Plugins [12:33:36] -------------- [12:33:36] Loading plugin: mysql.so [12:33:36] SA:MP MySQL Plugin v2.1.1 Loaded. [12:33:36] Loaded. [12:33:36] Loaded 1 plugins. [12:33:36] [MySQL] Thread running. Threadsafe: Yes. [12:33:36] [12:33:36] Filter Scripts [12:33:36] --------------- [12:33:36] Loading filter script 'adminspec.amx'... [12:33:36] Loading filter script 'vactions.amx'... [12:33:36] Loaded 2 filter scripts. [12:33:36] Script[gamemodes/UNG.amx]: Run time error 19: "File or function is not found" [12:33:36] Number of vehicle models: 0 |