mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-11 08:54:00 +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
|
||||
|
||||
before_script:
|
||||
- mysql -u root -e 'create database wherehows_test'
|
||||
- mysql -D wherehows_test < data-model/DDL/create_all_tables_wrapper.sql
|
||||
- mysql -D wherehows_test -e 'show tables'
|
||||
- uname -a; pwd
|
||||
- mysql -u root -e 'create database if not exists wherehows_test'
|
||||
- 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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user