chg: [Travis] Set strict mode on MariaDB.

pull/5018/head
Raphaël Vinot 2019-08-16 11:59:23 +02:00
parent 0db2cc9905
commit 2d80a36c49
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ install:
- sudo chmod -R 755 `pwd`/app/Plugin/CakeResque/tmp
# install MySQL
- sudo chmod -R 777 `pwd`/INSTALL
- mysql -u root -e "SET GLOBAL sql_mode = 'STRICT_ALL_TABLES';"
- mysql -u root -e 'create database misp;'
- mysql -u root -e "grant usage on *.* to misp@localhost identified by 'blah'";
- mysql -u root -e "grant all privileges on misp.* to misp@localhost;"