Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
2cb601c8
Commit
2cb601c8
authored
Nov 07, 2005
by
joerg@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/M51/mysql-5.1
parents
b272c5b1
a6eef9b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
20 deletions
+20
-20
mysql-test/r/connect.result
mysql-test/r/connect.result
+10
-10
mysql-test/t/connect.test
mysql-test/t/connect.test
+10
-10
No files found.
mysql-test/r/connect.result
View file @
2cb601c8
...
...
@@ -21,9 +21,9 @@ time_zone_transition_type
user
show tables;
Tables_in_test
connect(localhost,root,z,test2,MASTER_PORT,M
YSQL_TEST_DIR/var/tmp/master.sock
);
connect(localhost,root,z,test2,MASTER_PORT,M
ASTER_SOCKET
);
ERROR 28000: Access denied for user 'root'@'localhost' (using password: YES)
connect(localhost,root,z,test,MASTER_PORT,M
YSQL_TEST_DIR/var/tmp/master.sock
);
connect(localhost,root,z,test,MASTER_PORT,M
ASTER_SOCKET
);
ERROR 28000: Access denied for user 'root'@'localhost' (using password: YES)
grant ALL on *.* to test@localhost identified by "gambling";
grant ALL on *.* to test@127.0.0.1 identified by "gambling";
...
...
@@ -49,13 +49,13 @@ time_zone_transition_type
user
show tables;
Tables_in_test
connect(localhost,test,,test2,MASTER_PORT,M
YSQL_TEST_DIR/var/tmp/master.sock
);
connect(localhost,test,,test2,MASTER_PORT,M
ASTER_SOCKET
);
ERROR 28000: Access denied for user 'test'@'localhost' (using password: NO)
connect(localhost,test,,"",MASTER_PORT,M
YSQL_TEST_DIR/var/tmp/master.sock
);
connect(localhost,test,,"",MASTER_PORT,M
ASTER_SOCKET
);
ERROR 28000: Access denied for user 'test'@'localhost' (using password: NO)
connect(localhost,test,zorro,test2,MASTER_PORT,M
YSQL_TEST_DIR/var/tmp/master.sock
);
connect(localhost,test,zorro,test2,MASTER_PORT,M
ASTER_SOCKET
);
ERROR 28000: Access denied for user 'test'@'localhost' (using password: YES)
connect(localhost,test,zorro,test,MASTER_PORT,M
YSQL_TEST_DIR/var/tmp/master.sock
);
connect(localhost,test,zorro,test,MASTER_PORT,M
ASTER_SOCKET
);
ERROR 28000: Access denied for user 'test'@'localhost' (using password: YES)
update mysql.user set password=old_password("gambling2") where user=_binary"test";
flush privileges;
...
...
@@ -85,13 +85,13 @@ time_zone_transition_type
user
show tables;
Tables_in_test
connect(localhost,test,,test2,MASTER_PORT,M
YSQL_TEST_DIR/var/tmp/master.sock
);
connect(localhost,test,,test2,MASTER_PORT,M
ASTER_SOCKET
);
ERROR 28000: Access denied for user 'test'@'localhost' (using password: NO)
connect(localhost,test,,test,MASTER_PORT,M
YSQL_TEST_DIR/var/tmp/master.sock
);
connect(localhost,test,,test,MASTER_PORT,M
ASTER_SOCKET
);
ERROR 28000: Access denied for user 'test'@'localhost' (using password: NO)
connect(localhost,test,zorro,test2,MASTER_PORT,M
YSQL_TEST_DIR/var/tmp/master.sock
);
connect(localhost,test,zorro,test2,MASTER_PORT,M
ASTER_SOCKET
);
ERROR 28000: Access denied for user 'test'@'localhost' (using password: YES)
connect(localhost,test,zorro,test,MASTER_PORT,M
YSQL_TEST_DIR/var/tmp/master.sock
);
connect(localhost,test,zorro,test,MASTER_PORT,M
ASTER_SOCKET
);
ERROR 28000: Access denied for user 'test'@'localhost' (using password: YES)
delete from mysql.user where user=_binary"test";
flush privileges;
...
...
mysql-test/t/connect.test
View file @
2cb601c8
...
...
@@ -17,10 +17,10 @@ show tables;
connect
(
con2
,
localhost
,
root
,,
test
);
show
tables
;
--
replace_result
$M
YSQL_TEST_DIR
MYSQL_TEST_DIR
$MASTER_MYPORT
MASTER_PORT
--
replace_result
$M
ASTER_MYSOCK
MASTER_SOCKET
$MASTER_MYPORT
MASTER_PORT
--
error
1045
connect
(
fail_con
,
localhost
,
root
,
z
,
test2
);
--
replace_result
$M
YSQL_TEST_DIR
MYSQL_TEST_DIR
$MASTER_MYPORT
MASTER_PORT
--
replace_result
$M
ASTER_MYSOCK
MASTER_SOCKET
$MASTER_MYPORT
MASTER_PORT
--
error
1045
connect
(
fail_con
,
localhost
,
root
,
z
,);
...
...
@@ -35,16 +35,16 @@ show tables;
connect
(
con4
,
localhost
,
test
,
gambling
,
test
);
show
tables
;
--
replace_result
$M
YSQL_TEST_DIR
MYSQL_TEST_DIR
$MASTER_MYPORT
MASTER_PORT
--
replace_result
$M
ASTER_MYSOCK
MASTER_SOCKET
$MASTER_MYPORT
MASTER_PORT
--
error
1045
connect
(
fail_con
,
localhost
,
test
,,
test2
);
--
replace_result
$M
YSQL_TEST_DIR
MYSQL_TEST_DIR
$MASTER_MYPORT
MASTER_PORT
--
replace_result
$M
ASTER_MYSOCK
MASTER_SOCKET
$MASTER_MYPORT
MASTER_PORT
--
error
1045
connect
(
fail_con
,
localhost
,
test
,,
""
);
--
replace_result
$M
YSQL_TEST_DIR
MYSQL_TEST_DIR
$MASTER_MYPORT
MASTER_PORT
--
replace_result
$M
ASTER_MYSOCK
MASTER_SOCKET
$MASTER_MYPORT
MASTER_PORT
--
error
1045
connect
(
fail_con
,
localhost
,
test
,
zorro
,
test2
);
--
replace_result
$M
YSQL_TEST_DIR
MYSQL_TEST_DIR
$MASTER_MYPORT
MASTER_PORT
--
replace_result
$M
ASTER_MYSOCK
MASTER_SOCKET
$MASTER_MYPORT
MASTER_PORT
--
error
1045
connect
(
fail_con
,
localhost
,
test
,
zorro
,);
...
...
@@ -63,16 +63,16 @@ show tables;
connect
(
con6
,
localhost
,
test
,
gambling3
,
test
);
show
tables
;
--
replace_result
$M
YSQL_TEST_DIR
MYSQL_TEST_DIR
$MASTER_MYPORT
MASTER_PORT
--
replace_result
$M
ASTER_MYSOCK
MASTER_SOCKET
$MASTER_MYPORT
MASTER_PORT
--
error
1045
connect
(
fail_con
,
localhost
,
test
,,
test2
);
--
replace_result
$M
YSQL_TEST_DIR
MYSQL_TEST_DIR
$MASTER_MYPORT
MASTER_PORT
--
replace_result
$M
ASTER_MYSOCK
MASTER_SOCKET
$MASTER_MYPORT
MASTER_PORT
--
error
1045
connect
(
fail_con
,
localhost
,
test
,,);
--
replace_result
$M
YSQL_TEST_DIR
MYSQL_TEST_DIR
$MASTER_MYPORT
MASTER_PORT
--
replace_result
$M
ASTER_MYSOCK
MASTER_SOCKET
$MASTER_MYPORT
MASTER_PORT
--
error
1045
connect
(
fail_con
,
localhost
,
test
,
zorro
,
test2
);
--
replace_result
$M
YSQL_TEST_DIR
MYSQL_TEST_DIR
$MASTER_MYPORT
MASTER_PORT
--
replace_result
$M
ASTER_MYSOCK
MASTER_SOCKET
$MASTER_MYPORT
MASTER_PORT
--
error
1045
connect
(
fail_con
,
localhost
,
test
,
zorro
,);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment