This repository has been archived by the owner. It is now read-only.
Browse files

README & .travis.yml update

* DB setup must follow Travis CI requirements
* added Node.js 0.6 to .travis.yml
  • Loading branch information...
DrBenton committed Sep 16, 2012
1 parent 559a7e6 commit e93aa95b9c1471d6da2f71328387faa1671f4018
Showing with 11 additions and 9 deletions.
  1. +1 −1 .travis.yml
  2. +10 −8
@@ -1,7 +1,7 @@
language: node_js
- 0.8
- #- 0.6
+ - 0.6
- mysql -e 'create database node_dbi_test;'
@@ -186,29 +186,31 @@ Any SQL database engine can theorically be added, with only a quick Adapter writ
To run tests manual DB configuration is required first.
-MySQL is expected to be available on localhost with user, pass and DB all set to "test".
+See ```test/config.js``` for databases setup.
+According to Travis CI requirements, MySQL is expected to be available on localhost with user "root", empty password and DB "node_dbi_test".
E.g. this should work:
- $ mysql -hlocalhost -utest -ptest test
+ $ mysql -hlocalhost -uroot node_dbi_test
This can usually be achieved by installing mysql and at the mysql interactive prompt issuing the following commands:
- mysql> create database test;
+ mysql> create database node_dbi_test;
Query OK, 1 row affected (0.00 sec)
- mysql> grant all on test.* to 'test'@'localhost' identified by 'test';
+ mysql> grant all on node_dbi_test.* to 'root'@'localhost';
Query OK, 0 rows affected (0.08 sec)
PostgreSQL is similar to MySQL, e.g. this should work:
- $ $ psql -U test -W test
- Password for user test: (manually typing "test" here)
+ $ $ psql -U postgres -W node_dbi_test
+ Password for user postgres: (manually typing empty password here)
Once PostgreSQL is installed this can usually be achieved with by issuing the following commands at the psql interactive prompt:
- postgres=# create user test password 'test';
+ postgres=# create user postgres password '';
- postgres=# create database test owner test;
+ postgres=# create database node_dbi_test owner postgres;
## Driver Differences

0 comments on commit e93aa95

Please sign in to comment.