Use SQuirreL to connect to sql server in ubuntu

Use SQuirreL to connect to sql server in ubuntu

First download:

 

http://sourceforge.net/projects/squirrel-sql/

 

Then make sure you have installed java, then switch to the directory where squirrel-sql-Snapshot-20130727_2001-install.jar is located and execute:

 

java -jar squirrel-sql-Snapshot-20130727_2001-install.jar

 

Then install according to the prompts, you can check mssql or mysql, etc., here we can choose mssql.

 

After the installation is complete, you need to download the jar package corresponding to mssql:

 

 

SQL Server(jtds):

http://sourceforge.net/projects/jtds/files/

mysql(MySQL Connector):

http://dev.mysql.com/downloads/connector/j/

oracle(JDBC):

http://www.oracle.com/technology/global/cn/software/tech/java/sqlj_jdbc/index.html

 

Then copy jtds-1.2.5.jar, ojdbc14.jar, mysql-connector-java-5.1.5-bin.jar to the lib directory under the SQuirrel SQL installation directory, so that SQuirrel SQL has the ability to connect to SQL
Server, Oracle, MySQL capabilities.

 

Restart SQuirreL from the SQuirreL directory :

 

/usr/local/squirrel-sql-Snapshot-20130727_2001#
./squirrel-sql.sh

 

Then add an Alias ​​to the Aliases on the left:

 

Fill in the correct connection information content similar to:

 


 

Double click to connect

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326499039&siteId=291194637