You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- sudo mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
- sudo mysql_upgrade
- sudo mysql -u root -e "CREATE USER IF NOT EXISTS 'travis'@'localhost';";
- sudo mysql -u root -e "GRANT ALL PRIVILEGES ON *.* TO 'travis'@'localhost';";
- sudo mysql -u root -e "use mysql; UPDATE user set authentication_string=PASSWORD('TRAVIS') where User='travis';";
- sudo service mysql restart
- sudo mysql -u root test < test/scripts/prepare.sql