Connection to database issues
Posted: 28 Feb 2006, 21:28
I feel like I'm spamming the support forums with questions... sorry about that. I assure you I've almost got the hang of everything 
anyways, I am trying to connect to a postgres database on a linux box from windows (the foxserver is on the windows box).
Here is my database manager section in the config file :
I downloaded what I "think" was the correct driver for postgres at http://jdbc.postgresql.org/download.html
I wasn't sure where to put the JAR file so I put it in the /serber/lib directory where all the other JAR files are located. I even tried setting my classpath and that didn't seem to work.
here is the error message I get when i try and start the server :
Can't load db driver: org.postgresql.Driver
14:07:56.890 - [ SEVERE ] > DbManager could not retrive a connection. java.sql.SQLException: No suitable driver
any ideas?
thanx allot
anyways, I am trying to connect to a postgres database on a linux box from windows (the foxserver is on the windows box).
Here is my database manager section in the config file :
Code: Select all
<DatabaseManager active="true">
<Driver>org.postgresql.Driver</Driver>
<ConnectionString>jdbc:postgresql://192.168.2.2/btg</ConnectionString>
<UserName>postgres</UserName>
<Password>mypass</Password>
<TestSQL><![CDATA[SELECT COUNT(*) FROM accounts]]></TestSQL>
<MaxActive>10</MaxActive>
<MaxIdle>10</MaxIdle>
<OnExhaustedPool>fail</OnExhaustedPool>
<BlockTime>5000</BlockTime>
</DatabaseManager>
I wasn't sure where to put the JAR file so I put it in the /serber/lib directory where all the other JAR files are located. I even tried setting my classpath and that didn't seem to work.
here is the error message I get when i try and start the server :
Can't load db driver: org.postgresql.Driver
14:07:56.890 - [ SEVERE ] > DbManager could not retrive a connection. java.sql.SQLException: No suitable driver
any ideas?
thanx allot