From 2e1bdf794e7baa5af57720ca769d2a746ca6f387 Mon Sep 17 00:00:00 2001 From: ruben Date: Mon, 13 Jan 2020 11:41:16 +0000 Subject: [PATCH] Now root password is assumed to be blank --- examples/run_examples.sh | 8 ++++---- test/integration/db_setup.sh | 2 +- test/integration/integration_test_common.hpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) 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;