1
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
2
--replace_regex /@'.*?'/@'LOCALHOST'/
3
--error ER_ACCESS_DENIED_ERROR
4
connect (bad_user,localhost,bad_user,,,);
6
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
7
connect (auth_file,localhost,auth_file,,,);
11
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
12
connect (auth_file_password,localhost,auth_file_password,test_password,,);
13
connection auth_file_password;
16
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
17
--replace_regex /@'.*?'/@'LOCALHOST'/
18
--error ER_ACCESS_DENIED_ERROR
19
connect (bad_user_password,localhost,auth_file_password,bad_password,,);
21
# Test that the command line client processes direct passwords properly
22
--exec $TOP_BUILDDIR/client/drizzle --host=localhost --port=$MASTER_MYPORT -e "SELECT 1" --user=auth_file_password --password=test_password 2>&1