Raised This Month: $51 Target: $400
 12% 

[Help] Could not find driver "mysql"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Addicted.
AlliedModders Donor
Join Date: Dec 2013
Location: 0xA9D0DC
Old 09-23-2014 , 14:20   [Help] Could not find driver "mysql"
Reply With Quote #1

Hi guys,

I am trying to connect to a mysql database for the store plugin but when my server tries to connect I get this error

Code:
[store/store-logging.smx] Connection to SQL database has failed, Reason: Could not find driver "mysql"
My databases.cfg file:

Code:
"Databases"
{
	"driver_default"		"mysql"
	
	// When specifying "host", you may use an IP address, a hostname, or a socket file path
	
	"default"
	{
		"driver"			"default"
		"host"				"localhost"
		"database"			"sourcemod"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}
	
	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}

	"clientprefs"
	{
		"driver"			"sqlite"
		"host"				"localhost"
		"database"			"clientprefs-sqlite"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}
	"store"
	{
    		"driver"        		"mysql"
    		"host"          		"23.***.***.****"
    		"database"      		"****"
    		"user"          		"****"
    		"pass"          		"****"
	}

}
Addicted. is offline
Addicted.
AlliedModders Donor
Join Date: Dec 2013
Location: 0xA9D0DC
Old 09-23-2014 , 15:32   Re: [Help] Could not find driver "mysql"
Reply With Quote #2

I got it working I just downloaded a new version of dbi.mysql.ext.so
Addicted. 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 07:55.


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