diff options
Diffstat (limited to 'mysql-test/mysql-test-run.sh')
-rw-r--r-- | mysql-test/mysql-test-run.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh index 670f45420c8..3cdfa836014 100644 --- a/mysql-test/mysql-test-run.sh +++ b/mysql-test/mysql-test-run.sh @@ -10,7 +10,6 @@ # Access Definitions #-- DB=test -DBUSER=test DBPASSWD= VERBOSE="" TZ=GMT-3; export TZ # for UNIX_TIMESTAMP tests to work @@ -209,6 +208,9 @@ fi if [ -n "$USE_RUNNING_SERVER" ] then MASTER_MYSOCK="/tmp/mysql.sock" + DBUSER=test +else + DBUSER=root # We want to do FLUSH xxx commands fi if [ -w / ] |