Browse Source

Added more adapter instructions

Andrew Kane 8 years ago
parent
commit
498201563e
1 changed files with 38 additions and 6 deletions
  1. 38 6
      README.md

+ 38 - 6
README.md

@@ -366,12 +366,12 @@ data_sources:
 
 
 ### Full List
 ### Full List
 
 
-- PostgreSQL
-- MySQL
-- SQL Server
-- Oracle
-- IBM DB2 and Informix
-- SQLite
+- [PostgreSQL](#postgresql)
+- [MySQL](#mysql)
+- [SQL Server](#sql-server)
+- [Oracle](#oracle)
+- [IBM DB2 and Informix](#ibm-db2-and-informix)
+- [SQLite](#sqlite)
 - [Redshift](#redshift)
 - [Redshift](#redshift)
 - [Presto](#presto)
 - [Presto](#presto)
 - [MongoDB](#mongodb) [beta]
 - [MongoDB](#mongodb) [beta]
@@ -387,6 +387,38 @@ data_sources:
     url: <%= ENV["BLAZER_MY_SOURCE_URL"] %>
     url: <%= ENV["BLAZER_MY_SOURCE_URL"] %>
 ```
 ```
 
 
+### PostgreSQL
+
+Add [pg](https://bitbucket.org/ged/ruby-pg/wiki/Home) to your Gemfile (if it’s not there) and set:
+
+```yml
+data_sources:
+  my_source:
+    url: postgres://user:password@hostname:5432/database
+```
+
+### MySQL
+
+Add [mysql2](https://github.com/brianmario/mysql2) to your Gemfile (if it’s not there) and set:
+
+```yml
+data_sources:
+  my_source:
+    url: mysql2://user:password@hostname:3306/database
+```
+
+### SQL Server
+
+Use [activerecord-sqlserver-adapter](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter).
+
+### IMB DB2 and Informix
+
+Use [ibm_db](https://github.com/ibmdb/ruby-ibmdb).
+
+### SQLite
+
+Use [sqlite3](https://github.com/sparklemotion/sqlite3-ruby).
+
 ### Redshift
 ### Redshift
 
 
 Add [activerecord4-redshift-adapter](https://github.com/aamine/activerecord4-redshift-adapter) to your Gemfile and set:
 Add [activerecord4-redshift-adapter](https://github.com/aamine/activerecord4-redshift-adapter) to your Gemfile and set: