View Single Post
Thorlax
Junior Member
Join Date: May 2008
Location: Sweden
Old 03-28-2017 , 09:29   Re: [ANY] Player Analytics
Reply With Quote #327

Hi all,

I'm getting this error on server launch with this plugin, I feel like I'm missing a simple step with the mysql setup. I have the database created on my mysql server and have verified connection to the dbase with mysql workbench. Here's the log from my server on startup,

[SM] Unable to load extension "dbi.mysql.ext": libz.so.1: cannot open shared object file: No such file or directory
L 03/28/2017 - 08:49:41: [SM] Failed to load plugin "player_analytics.smx": Driver "mysql" not found.

Here's my database.cfg from my SM folder,

Quote:
"Databases"
{
"driver_default" "mysql"

// When specifying "host", you may use an IP address, a hostname, or a socket file path

"player_analytics"
{
"driver" "mysql"
"host" "r**0.*****.net"
"database" "******_plyanalytics1"
"user" "********_wizstats1"
"pass" "***"
"timeout" "0"
"port" "3306"
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
}

The dbi.mysql.ext is located in the correct SM folder. The server is Debian Jessie running newest security updates. Thanks in advance for your time!
__________________


Thorlax is offline
Send a message via Skype™ to Thorlax