diff --git a/examples/run_examples.sh b/examples/run_examples.sh index a184c805..69c08533 100755 --- a/examples/run_examples.sh +++ b/examples/run_examples.sh @@ -2,7 +2,7 @@ SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" -mysql -u root -proot < $SCRIPTPATH/db_setup.sql -./example_query_sync root root -./example_query_async root root -./example_metadata root root \ No newline at end of file +mysql -u root < $SCRIPTPATH/db_setup.sql +./example_query_sync root "" +./example_query_async root "" +./example_metadata root "" \ No newline at end of file diff --git a/test/integration/db_setup.sh b/test/integration/db_setup.sh index bea09857..76a05f0d 100755 --- a/test/integration/db_setup.sh +++ b/test/integration/db_setup.sh @@ -1,3 +1,3 @@ #!/bin/bash -mysql -u root -proot < db_setup.sql +mysql -u root < db_setup.sql diff --git a/test/integration/integration_test_common.hpp b/test/integration/integration_test_common.hpp index 78e19921..01aca53b 100644 --- a/test/integration/integration_test_common.hpp +++ b/test/integration/integration_test_common.hpp @@ -15,7 +15,7 @@ namespace test struct IntegTest : testing::Test { - mysql::connection_params connection_params {"root", "root", "awesome"}; + mysql::connection_params connection_params {"root", "", "awesome"}; boost::asio::io_context ctx; mysql::connection conn {ctx}; mysql::error_code errc;