2
0
mirror of https://github.com/boostorg/mysql.git synced 2026-02-14 12:52:17 +00:00

Update root auth on OSX/mariadb in CI

This commit is contained in:
ruben
2020-03-16 12:52:22 +00:00
parent 2ea47319ee
commit 11bf7669d3
2 changed files with 4 additions and 0 deletions

View File

@@ -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"

3
ci/root_user_setup.sql Normal file
View File

@@ -0,0 +1,3 @@
ALTER USER 'root'@'localhost' IDENTIFIED WITH 'mysql_native_password';
ALTER USER 'root'@'localhost' IDENTIFIED BY '';
FLUSH PRIVILEGES;