Raised This Month: $ Target: $400
 0% 

Database failure: Could not find driver "mysql"


Post New Thread Reply   
 
Thread Tools Display Modes
mats
Senior Member
Join Date: Jan 2005
Old 05-06-2008 , 15:04   Re: Database failure: Could not find driver "mysql"
Reply With Quote #11

Quote:
Originally Posted by zerak View Post
What does it give you then? You did execute it in cstrike folder as it said in the thread?
it give this:
cstrike # ldd -d -r addons/sourcemod/extensions/dbi.mysql.ext.so
linux-gate.so.1 => (0xffffe000)
libz.so.1 => /lib/libz.so.1 (0xf7df1000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf7dd9000)
libdl.so.2 => /lib/libdl.so.2 (0xf7dd5000)
libm.so.6 => /lib/libm.so.6 (0xf7daf000)
libc.so.6 => /lib/libc.so.6 (0xf7c80000)
__________________
mats is offline
zerak
Senior Member
Join Date: Feb 2008
Old 05-06-2008 , 16:03   Re: Database failure: Could not find driver "mysql"
Reply With Quote #12

Too bad since I need a solution on the previous
dunno if this will help you in your effort, people on irc recommended running the following to know what the I had. Maybe it can guide you in why it fails to load.

sm exts list
sm exts info <mysql driver nr>
zerak is offline
mats
Senior Member
Join Date: Jan 2005
Old 05-06-2008 , 17:16   Re: Database failure: Could not find driver "mysql"
Reply With Quote #13

Code:
[SM] Displaying 6 extensions:
[01] CS:S Tools (1.0.0.1884): CS:S extended functionality
[02] BinTools (1.0.0.1900): Low-level C/C++ Calling API
[03] Top Menus (1.0.0.1884): Creates sorted nested menus
[04] SDK Tools (1.0.0.1941): Source SDK Tools
[05] <FAILED> file "dbi.mysql.ext.so": No such file or directory
[06] SQLite (1.0.0.1918): SQLite Driver
L 05/06/2008 - 23:16:09: rcon from "81.68.116.191:58491": command "sm exts list"
Code:
 rcon sm exts info 05
 File: dbi.mysql.ext.so
 Loaded: No (No such file or directory)
__________________
mats is offline
mats
Senior Member
Join Date: Jan 2005
Old 05-06-2008 , 18:48   Re: Database failure: Could not find driver "mysql"
Reply With Quote #14

cd <srcds>
export LD_LIBRARY_PATH=".:bin:$LD_LIBRARY_PATH"
ldd -d -r <game>/addons/sourcemod/extensions/dbi.mysql.ext.so

then I get this:
-bash: game: No such file or director
__________________
mats is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 05-06-2008 , 18:48   Re: Database failure: Could not find driver "mysql"
Reply With Quote #15

That would make sense, I bet you need that extension. Make sure its located in sourcemod/extensions
__________________

DontWannaName is offline
mats
Senior Member
Join Date: Jan 2005
Old 05-06-2008 , 18:58   Re: Database failure: Could not find driver "mysql"
Reply With Quote #16

Quote:
Originally Posted by DontWannaName View Post
That would make sense, I bet you need that extension. Make sure its located in sourcemod/extensions
the dbi.mysql.ext.so is in the extensions folder
__________________
mats is offline
sfPlayer
Senior Member
Join Date: Dec 2007
Location: Germany
Old 05-07-2008 , 16:41   Re: Database failure: Could not find driver "mysql"
Reply With Quote #17

If you upgrade SourceMod to r2005 or later you should get a better error message than
L 05/05/2008 - 19:508: [SM] Unable to load extension "dbi.mysql.ext.so": No such file or directory
sfPlayer is offline
mats
Senior Member
Join Date: Jan 2005
Old 05-07-2008 , 16:44   Re: Database failure: Could not find driver "mysql"
Reply With Quote #18

Quote:
Originally Posted by sfPlayer View Post
If you upgrade SourceMod to r2005 or later you should get a better error message than
L 05/05/2008 - 19:508: [SM] Unable to load extension "dbi.mysql.ext.so": No such file or directory
I installed sourcemod 4may, so I think I have the last version?
__________________
mats is offline
sfPlayer
Senior Member
Join Date: Dec 2007
Location: Germany
Old 05-07-2008 , 17:24   Re: Database failure: Could not find driver "mysql"
Reply With Quote #19

version 1.0.0 is r1952, try the 1.0.1 snapshot
sfPlayer is offline
mats
Senior Member
Join Date: Jan 2005
Old 05-07-2008 , 17:59   Re: Database failure: Could not find driver "mysql"
Reply With Quote #20

now the message is:
Code:
L 05/07/2008 - 23:58:27: Info (map "de_dust") (file "errors_20080507.log")
L 05/07/2008 - 23:58:27: [SM] Unable to load extension "dbi.mysql.ext.so": libz.so.1: cannot open shared object file: No such file or directory
L 05/07/2008 - 23:58:27: [SM] Native "LogToFile" reported: Could not open file "/home/game17/cstrike/"
L 05/07/2008 - 23:58:27: [SM] Debug mode is not enabled for "sourcebans.smx"
L 05/07/2008 - 23:58:27: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 2 on
__________________
mats is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode