mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-12 09:25:23 +00:00
.travis use root to create tables in mysql
This commit is contained in:
parent
eded54921f
commit
c6863e0e80
@ -36,8 +36,10 @@ addons:
|
|||||||
- mysql-client-5.6
|
- mysql-client-5.6
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- mysql -u root -e 'create database wherehows_test'
|
- uname -a; pwd
|
||||||
- mysql -D wherehows_test < data-model/DDL/create_all_tables_wrapper.sql
|
- mysql -u root -e 'create database if not exists wherehows_test'
|
||||||
- mysql -D wherehows_test -e 'show tables'
|
- mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'travis'@'localhost'"
|
||||||
|
- mysql -u root -D wherehows_test < data-model/DDL/create_all_tables_wrapper.sql
|
||||||
|
- mysql -u root -D wherehows_test -e 'show tables'
|
||||||
- sleep 5
|
- sleep 5
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user