Skip to content

Commit

Permalink
create database sodbxtest in setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
guillep committed Nov 2, 2016
1 parent 3852316 commit 6f66396
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ sqlite3)
./pharo Pharo.image eval --save "GAContinuousIntegrationConfiguration new configureSqlite3"
;;
mysql)
mysql -uroot -e "CREATE DATABASE sodbxtest /*\!40100 DEFAULT CHARACTER SET utf8 */;"
mysql -uroot -e "CREATE USER sodbxtest@localhost IDENTIFIED BY 'sodbxtest';"
mysql -uroot -e "GRANT ALL PRIVILEGES ON sodbxtest.* TO 'sodbxtest'@'localhost';"
mysql -uroot -e "FLUSH PRIVILEGES;"
./pharo Pharo.image eval --save "GAContinuousIntegrationConfiguration new configureMysql"
;;
postgresV2)
Expand Down

0 comments on commit 6f66396

Please sign in to comment.