[SOLVED] Can't load db driver: org.gjt.mm.mysql.Driver
Posted: 13 Dec 2010, 14:12
Okay... I've got a new VPS and got everything set up. It's Linux CentOS.
JRE, MySQL, and Smartfox all installed properly.
Smartfox ran properly with the default settings.
I have had a local windows version of smartfox running properly for quite some time, so I know how to install the mysql connector.
mysql-connector-java-5.1.14-bin.jar is in jre/lib/ext folder
Driver.java is in jre/lib/ext/org/gjt/mm/mysql folder
I copied over my config.xml from my already working local smartfox config...
<DatabaseManager active="true">
<Driver>org.gjt.mm.mysql.Driver</Driver>
<ConnectionString>jdbc:mysql://localhost:3306/skimbell_zen</ConnectionString>
<UserName>****</UserName>
<Password>****</Password>
<TestSQL><![CDATA[SELECT * FROM ks_users]]></TestSQL>
<MaxActive>10</MaxActive>
<MaxIdle>10</MaxIdle>
<OnExhaustedPool>fail</OnExhaustedPool>
<BlockTime>5000</BlockTime>
</DatabaseManager>
I already tried adding a path to the mysql connector in my start.sh file.....
So what on earth is the problem here?
JRE, MySQL, and Smartfox all installed properly.
Smartfox ran properly with the default settings.
I have had a local windows version of smartfox running properly for quite some time, so I know how to install the mysql connector.
mysql-connector-java-5.1.14-bin.jar is in jre/lib/ext folder
Driver.java is in jre/lib/ext/org/gjt/mm/mysql folder
I copied over my config.xml from my already working local smartfox config...
<DatabaseManager active="true">
<Driver>org.gjt.mm.mysql.Driver</Driver>
<ConnectionString>jdbc:mysql://localhost:3306/skimbell_zen</ConnectionString>
<UserName>****</UserName>
<Password>****</Password>
<TestSQL><![CDATA[SELECT * FROM ks_users]]></TestSQL>
<MaxActive>10</MaxActive>
<MaxIdle>10</MaxIdle>
<OnExhaustedPool>fail</OnExhaustedPool>
<BlockTime>5000</BlockTime>
</DatabaseManager>
I already tried adding a path to the mysql connector in my start.sh file.....
So what on earth is the problem here?