Skip to content

Commit e4e5a80

Browse files
author
Nelson Goncalves
committed
BUG#26979375 : ADMIN API COMMANDS FAILING WHEN THE USER CONNECTED TO ROOT@%
Extra patch to fix issue on debian platforms with unit tests.
1 parent aabd337 commit e4e5a80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unittest/scripts/js_devapi/scripts/dba_interactive.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ session.runSql("SET sql_log_bin = 0");
7474
session.runSql("CREATE USER 'test_user'@'%'");
7575
session.runSql("GRANT ALL PRIVILEGES ON *.* to 'test_user'@'%' WITH GRANT OPTION");
7676
session.runSql("SET sql_log_bin = 1");
77-
session.close()
77+
session.close();
7878

79-
shell.connect({host: hostname, port: __mysql_sandbox_port1, user: 'test_user', password: ''});
79+
shell.connect({host: "127.0.0.1", port: __mysql_sandbox_port1, user: 'test_user', password: ''});
8080
c1 = dba.createCluster("devCluster", {clearReadOnly: true});
8181
c1
8282

0 commit comments

Comments
 (0)