diff --git a/.travis.yml b/.travis.yml index 8daef062..36028b2b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,6 +53,7 @@ __osx_mariadb_defaults: &__osx_mariadb_defaults - brew update - brew install boost mariadb - mysql.server start + - sudo mysql -u root < ci/root_user_setup.sql __osx_cmake_options: &__osx_cmake_options "CMAKE_OPTIONS=-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl" diff --git a/ci/root_user_setup.sql b/ci/root_user_setup.sql new file mode 100644 index 00000000..937a1f65 --- /dev/null +++ b/ci/root_user_setup.sql @@ -0,0 +1,3 @@ +ALTER USER 'root'@'localhost' IDENTIFIED WITH 'mysql_native_password'; +ALTER USER 'root'@'localhost' IDENTIFIED BY ''; +FLUSH PRIVILEGES; \ No newline at end of file