You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

41 lines
786 B

##
## sqlshell.cfg -- initialization file for SQLShell
##
[settings]
colspacing: 2
[drivers]
postgresql = org.postgresql.Driver
postgres = org.postgresql.Driver
mysql = com.mysql.jdbc.Driver
sqlite = org.sqlite.JDBC
sqlite3 = org.sqlite.JDBC
oracle = oracle.jdbc.driver.OracleDriver
access = sun.jdbc.odbc.JdbcOdbcDriver
[vars]
historyDir: ${env.HOME}/.sqlshell
[db_postgres]
aliases: pgsql
url: jdbc:postgresql://localhost:5432/sampledb
driver: postgres
user: ${system.user.name}
password:
history: $vars.historyDir/pgsql.hist
[db_mysql]
aliases: mysql
driver: mysql
url: jdbc:mysql://localhost:3306/sampledb
user: ${system.user.name}
password:
history: $vars.historyDir/mysql.hist
[db_h2]
aliases: h2
url: jdbc:h2:/tmp/sample.db
driver: h2
history: $vars.historyDir/h2.hist