Other Remote Database Connector (RDC)

Costas Michael

New Member
Licensed User
When trying to access the server from the browser i'm getting the following error!

java.sql.SQLException: An attempt by a client to checkout a Connection has timed out.

This is my config file:

#Lines starting with '#' are comments.
#Backslash character at the end of line means that the command continues in the next line.

#DriverClass=com.mysql.jdbc.Driver
#JdbcUrl=jdbc:mysql://localhost/test?characterEncoding=utf8

#SQL Server
DriverClass=com.microsoft.sqlserver.jdbc.SQLServerDriver
JdbcUrl=jdbc:sqlserver://MYPC-PC\SQLEXPRESS2008/SoftechDemo
User=sa
Password=sql
ServerPort=17178
#If Debug is true then this file will be reloaded on every query.
#This is useful if you need to modify the queries.
Debug=true

#commands
#sql.create_table=CREATE TABLE animals (\
# id INT NOT NULL AUTO_INCREMENT,\
# name CHAR(30) NOT NULL,\
# image BLOB,\
# PRIMARY KEY (id))
#sql.insert_animal=INSERT INTO animals VALUES (null, ?,?)
#sql.select_animal=SELECT name, image FROM animals WHERE name = ?

firewall and antivirus deactivated.
 

Attachments

  • RDC.jpg
    RDC.jpg
    103.4 KB · Views: 235
  • RDC_ERROR.jpg
    RDC_ERROR.jpg
    477.1 KB · Views: 221

Costas Michael

New Member
Licensed User
Hi
Found the problem!
I have change the config file as follows and works!

#Lines starting with '#' are comments.
#Backslash character at the end of line means that the command continues in the next line.

#DriverClass=com.mysql.jdbc.Driver
#JdbcUrl=jdbc:mysql://localhost/test?characterEncoding=utf8

#SQL Server
DriverClass=com.microsoft.sqlserver.jdbc.SQLServerDriver
JdbcUrl=jdbc:jtds:sqlserver://127.0.0.1:1433/SoftechDemo;instance=SQLEXPRESS2008;user=sa;password=sql
User=sa
Password=sql
ServerPort=17178
#If Debug is true then this file will be reloaded on every query.
#This is useful if you need to modify the queries.
Debug=true

#commands
#sql.create_table=CREATE TABLE animals (\
# id INT NOT NULL AUTO_INCREMENT,\
# name CHAR(30) NOT NULL,\
# image BLOB,\
# PRIMARY KEY (id))
#sql.insert_animal=INSERT INTO animals VALUES (null, ?,?)
#sql.select_animal=SELECT name, image FROM animals WHERE name = ?
 
Upvote 0
Top