29.07.2011, 14:55
[Plugin] [REL] MySQL Plugin (Now on github!)
29.07.2011, 15:57
I use VPS with Debian 5 OS and in my folder is libmysqlclient.so.15
29.07.2011, 23:02
(
Последний раз редактировалось t33th4n; 31.07.2011 в 14:41.
)
I got a problem
Status:
Windows XP x64 SP2
VC 2008 x64 installed - Foo - VC 2008 x86 redist needed.
.NET 2.0 x64 installed
v0.3c R2
1, Copied mysql.dll to /plugins folder
mysql.dll info (MD5 hash: 89605FD430CD62DFCD9252163394C43F)
2, Copied libmySQL.dll on side of server.cfg
libmySQL.dll info (MD5 hash: 087B044FC819A7BD819E80275217CD3A)
3, server.cfg modified with "plugins mysql" line
Result:
What did i do wrong? - Solved
Ps.: Would be good if plugin developer would sign the HASH codes with own name, and sign file with hash code CALL ME PARANOID!
Status:
Windows XP x64 SP2
VC 2008 x64 installed - Foo - VC 2008 x86 redist needed.
.NET 2.0 x64 installed
v0.3c R2
1, Copied mysql.dll to /plugins folder
mysql.dll info (MD5 hash: 89605FD430CD62DFCD9252163394C43F)
2, Copied libmySQL.dll on side of server.cfg
libmySQL.dll info (MD5 hash: 087B044FC819A7BD819E80275217CD3A)
3, server.cfg modified with "plugins mysql" line
Result:
Код:
Server Plugins -------------- Loading plugin: mysql Failed. Loaded 0 plugins.
Ps.: Would be good if plugin developer would sign the HASH codes with own name, and sign file with hash code CALL ME PARANOID!
30.07.2011, 13:45
Loading plugin: mysql.so
Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
Server is Debian 5 Squeeze 64 Bit.
I have the libmysqlclient_r.so.16 in /usr/lib . But when i copy it to /usr/lib32 I get:
Loading plugin: mysql.so
Failed (libmysqlclient_r.so.16: wrong ELF class: ELFCLASS64)
Any idea?
Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
Server is Debian 5 Squeeze 64 Bit.
I have the libmysqlclient_r.so.16 in /usr/lib . But when i copy it to /usr/lib32 I get:
Loading plugin: mysql.so
Failed (libmysqlclient_r.so.16: wrong ELF class: ELFCLASS64)
Any idea?
31.07.2011, 09:51
I go an problem, i got this
Failed (libmysqlclient_r.so.16: cannot open shared object file: No such
but i don't see where download .16 i have only the .15
Failed (libmysqlclient_r.so.16: cannot open shared object file: No such
but i don't see where download .16 i have only the .15
31.07.2011, 17:30
R6-2 doesn't work for me - it crashes randomly on some queries while others returns null
Switched back to R5 because of that
Switched back to R5 because of that
31.07.2011, 20:08
31.07.2011, 20:09
31.07.2011, 20:09
31.07.2011, 21:38
31.07.2011, 23:50
Same problem as scott1, Fiskius, etc.. -.-'
01.08.2011, 09:19
01.08.2011, 16:12
(
Последний раз редактировалось MyLife; 01.08.2011 в 20:02.
)
Nothing...
Fixed it with myself ^_^
Fixed it with myself ^_^
02.08.2011, 03:17
The same has happened to me since the R4 days. No plugin crashes though mysql_affected_rows() returns null when there should be something. I can run one command, get null, then 3 seconds later run it again and get the value I was originally expecting.. though due to the randomness I haven't been able to get logged proof of it.
02.08.2011, 13:01
Код:
---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3c R4, ©2005-2011 SA-MP Team [12:52:32] filterscripts = "" (string) [12:52:32] [12:52:32] Server Plugins [12:52:32] -------------- [12:52:32] Loading plugin: sscanf.so [12:52:32] [12:52:32] =============================== [12:52:32] sscanf plugin loaded. [12:52:32] © 2009 Alex "Y_Less" Cole [12:52:32] =============================== [12:52:32] Loaded. [12:52:32] Loading plugin: irc.so [12:52:32] *** IRC Plugin v1.4.2 by Incognito loaded *** [12:52:32] Loaded. [12:52:32] Loading plugin: mysql.so [12:52:32] Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory) [12:52:32] Loaded 2 plugins.
02.08.2011, 15:15
Quote:
Код:
---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3c R4, ©2005-2011 SA-MP Team [12:52:32] filterscripts = "" (string) [12:52:32] [12:52:32] Server Plugins [12:52:32] -------------- [12:52:32] Loading plugin: sscanf.so [12:52:32] [12:52:32] =============================== [12:52:32] sscanf plugin loaded. [12:52:32] © 2009 Alex "Y_Less" Cole [12:52:32] =============================== [12:52:32] Loaded. [12:52:32] Loading plugin: irc.so [12:52:32] *** IRC Plugin v1.4.2 by Incognito loaded *** [12:52:32] Loaded. [12:52:32] Loading plugin: mysql.so [12:52:32] Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory) [12:52:32] Loaded 2 plugins. |
03.08.2011, 15:35
Damn OMG, download one of these:
http://www.mysql.com/downloads/connector/c/#downloads
Get the files and links from Lib directory.
(And i'm not a linux pro)
http://www.mysql.com/downloads/connector/c/#downloads
Get the files and links from Lib directory.
(And i'm not a linux pro)
03.08.2011, 15:39
To all of you who get the "libmysqlclient_r.so: cannot open shared object file: No such file or directory)" error:
Have you tried using the static build for the specific distro that you're using (debian, centos, etc)?
Have you tried using the static build for the specific distro that you're using (debian, centos, etc)?
03.08.2011, 16:49
Hello, I have seen many and I would have my problem if anyone can help and also would help those who also have MySQL porblema
libmysqlclient_r.so.16
I'm using the plguins of strickenkid and the OS is CentOS 5.3
libmysqlclient_r.so.16
I'm using the plguins of strickenkid and the OS is CentOS 5.3
03.08.2011, 16:50
I have a small problem, sometimes when users attempt to login through a threaded query it just stops the server
log..
it just ends right there ^^
pawn Код:
new lEscape[2][MAX_PLAYER_NAME],string[128];
mysql_real_escape_string(Playername(playerid), lEscape[0]);
mysql_real_escape_string(inputtext, lEscape[1]);
format(string, 128, "SELECT * FROM `Accounts` WHERE `Username` = '%s' AND `Password` = '%s' LIMIT 0,1", lEscape[0], lEscape[1]);
mysql_query_callback(playerid, string, "OnUserLogin");
Код:
[16:02:06] >> mysql_real_escape_string( Connection handle: 1 ) [16:02:06] CMySQLHandler::EscapeString(vhhbjkl7); - Escaped 8 characters to vhhbjkl7. [16:02:06] >> mysql_real_escape_string( Connection handle: 1 ) [16:02:06] CMySQLHandler::EscapeString(dfsdfdsfsdfsdfsdfsdfsdfsdfsf); - Escaped 28 characters to dfsdfdsfsdfsdfsdfsdfsdfsdfsf. [16:02:06] >> mysql_query_callback( Connection handle: 1 ) [16:02:06] CMySQLHandler::Query("OnUserLogin") - Custom callback query with index 102 started (ExtraID: -1)
« Next Oldest | Next Newest »
Users browsing this thread: 11 Guest(s)