数据库连接字符串大全 http://www.connectionstrings.com
SqlServer
"Data Source=127.0.0.1;Initial Catalog=dbname;User Id=sa;Password=****;"
Oracle
"Data Source=127.0.0.1/dbname;port=1521;User Id=orcl;Password=****;"
Mysql
"Server=127.0.0.1;Port=3306;Database=dbname;Uid=root;Pwd=****;"
DB2
"Server=127.0.0.1:50000;Database=dbname;UID=DBADM;PWD=****;"
PostgreSql
"Server=127.0.0.1;Port=5432;Database=dbname;User Id=postgres;Password=****;"
Sqlite
"Data Source=|DataDirectory|dbname.db;Version=3;Password=****"
Access
"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|dbname.mdb;User Id=;Password=****;"