1
CALL mtr.add_suppression("Plugin test_plugin_server reported: 'Wrong password supplied for plug_dest'");
2
call mtr.add_suppression("Did not write failed .*");
3
SELECT PLUGIN_STATUS, PLUGIN_TYPE, PLUGIN_DESCRIPTION
4
FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME='test_plugin_server';
6
PLUGIN_TYPE AUTHENTICATION
7
PLUGIN_DESCRIPTION plugin API test plugin
8
SET @old_log_output= @@global.log_output;
9
SET @old_general_log= @@global.general_log;
10
SET GLOBAL log_output = 'TABLE';
11
SET GLOBAL general_log= 'ON';
12
CREATE USER plug IDENTIFIED WITH 'test_plugin_server' AS 'plug_dest';
13
CREATE USER plug_dest IDENTIFIED BY 'plug_dest_passwd';
14
SELECT plugin,authentication_string FROM mysql.user WHERE User='plug';
15
plugin authentication_string
16
test_plugin_server plug_dest
18
ERROR 28000: Access denied for user 'plug'@'localhost' (using password: YES)
19
GRANT PROXY ON plug_dest TO plug;
20
test proxies_priv columns
21
SELECT * FROM mysql.proxies_priv WHERE user !='root';
22
Host User Proxied_host Proxied_user With_grant Grantor Timestamp
23
xx plug % plug_dest 0 root@localhost xx
24
test mysql.proxies_priv;
25
SHOW CREATE TABLE mysql.proxies_priv;
27
proxies_priv CREATE TABLE `proxies_priv` (
28
`Host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '',
29
`User` char(16) COLLATE utf8_bin NOT NULL DEFAULT '',
30
`Proxied_host` char(60) COLLATE utf8_bin NOT NULL DEFAULT '',
31
`Proxied_user` char(16) COLLATE utf8_bin NOT NULL DEFAULT '',
32
`With_grant` tinyint(1) NOT NULL DEFAULT '0',
33
`Grantor` char(77) COLLATE utf8_bin NOT NULL DEFAULT '',
34
`Timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
35
PRIMARY KEY (`Host`,`User`,`Proxied_host`,`Proxied_user`),
36
KEY `Grantor` (`Grantor`)
37
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='User proxy privileges'
38
select USER(),CURRENT_USER();
40
plug@localhost plug_dest@%
42
Setting password is allowed but it won't affect the authentication mechanism.
43
SET PASSWORD = PASSWORD('plug_dest');
45
Note 1699 SET PASSWORD has no significance for users authenticating via plugins
46
## test bad credentials
47
ERROR 28000: Access denied for user 'plug'@'localhost' (using password: YES)
48
## test bad default plugin : should get CR_AUTH_PLUGIN_CANNOT_LOAD
49
## test correct default plugin
50
select USER(),CURRENT_USER();
52
plug@localhost plug_dest@%
53
## test no_auto_create_user sql mode with plugin users
54
SET @@sql_mode=no_auto_create_user;
55
GRANT INSERT ON TEST.* TO grant_user IDENTIFIED WITH 'test_plugin_server';
56
SET @@sql_mode=default;
58
## test utf-8 user name
59
CREATE USER `Åø` IDENTIFIED WITH 'test_plugin_server' AS 'plug_dest';
60
GRANT PROXY ON plug_dest TO `Åø`;
61
select USER(),CURRENT_USER();
63
Åø@localhost plug_dest@%
65
## test GRANT ... IDENTIFIED WITH/BY ...
66
CREATE DATABASE test_grant_db;
67
# create new user via GRANT WITH
68
GRANT ALL PRIVILEGES ON test_grant_db.* TO new_grant_user
69
IDENTIFIED WITH 'test_plugin_server' AS 'plug_dest';
70
GRANT PROXY ON plug_dest TO new_grant_user;
71
select USER(),CURRENT_USER();
73
new_grant_user@localhost plug_dest@%
75
CREATE TABLE t1 (a INT);
77
REVOKE ALL PRIVILEGES ON test_grant_db.* FROM new_grant_user;
78
# try re-create existing user via GRANT IDENTIFIED BY
79
GRANT ALL PRIVILEGES ON test_grant_db.* TO new_grant_user
80
IDENTIFIED BY 'unused_password';
82
Warning 1699 SET PASSWORD has no significance for users authenticating via plugins
83
# make sure password doesn't take precendence
84
ERROR 28000: Access denied for user 'new_grant_user'@'localhost' (using password: YES)
85
#make sure plugin auth still available
86
select USER(),CURRENT_USER();
88
new_grant_user@localhost plug_dest@%
90
CREATE TABLE t1 (a INT);
92
DROP USER new_grant_user;
93
# try re-create existing user via GRANT IDENTIFIED WITH
94
GRANT ALL PRIVILEGES ON test_grant_db.* TO plug
95
IDENTIFIED WITH 'test_plugin_server' AS 'plug_dest';
96
ERROR HY000: GRANT with IDENTIFIED WITH is illegal because the user plug already exists
97
GRANT ALL PRIVILEGES ON test_grant_db.* TO plug_dest
98
IDENTIFIED WITH 'test_plugin_server' AS 'plug_dest';
99
ERROR HY000: GRANT with IDENTIFIED WITH is illegal because the user plug_dest already exists
100
REVOKE SELECT on test_grant_db.* FROM joro
101
INDENTIFIED WITH 'test_plugin_server' AS 'plug_dest';
102
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INDENTIFIED WITH 'test_plugin_server' AS 'plug_dest'' at line 2
103
REVOKE SELECT on test_grant_db.* FROM joro
104
INDENTIFIED BY 'plug_dest_passwd';
105
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INDENTIFIED BY 'plug_dest_passwd'' at line 2
106
REVOKE SELECT on test_grant_db.* FROM joro
107
INDENTIFIED BY PASSWORD 'plug_dest_passwd';
108
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INDENTIFIED BY PASSWORD 'plug_dest_passwd'' at line 2
109
DROP DATABASE test_grant_db;
111
CREATE USER grant_plug IDENTIFIED WITH 'test_plugin_server'
112
AS 'grant_plug_dest';
113
CREATE USER grant_plug_dest IDENTIFIED BY 'grant_plug_dest_passwd';
114
CREATE USER grant_plug_dest2 IDENTIFIED BY 'grant_plug_dest_passwd2';
115
# ALL PRIVILEGES doesn't include PROXY
116
GRANT ALL PRIVILEGES ON *.* TO grant_plug;
117
ERROR 28000: Access denied for user 'grant_plug'@'localhost' (using password: YES)
118
GRANT ALL PRIVILEGES,PROXY ON grant_plug_dest TO grant_plug;
119
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'PROXY ON grant_plug_dest TO grant_plug' at line 1
120
this should fail : can't combine PROXY
121
GRANT ALL SELECT,PROXY ON grant_plug_dest TO grant_plug;
122
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT,PROXY ON grant_plug_dest TO grant_plug' at line 1
123
# this should fail : no such grant
124
REVOKE PROXY ON grant_plug_dest FROM grant_plug;
125
ERROR 42000: There is no such grant defined for user 'grant_plug' on host '%'
126
in grant_plug_dest_con
127
## testing what an ordinary user can grant
128
this should fail : no rights to grant all
129
GRANT PROXY ON ''@'' TO grant_plug;
130
ERROR 28000: Access denied for user 'grant_plug_dest'@'localhost'
131
this should fail : not the same user
132
GRANT PROXY ON grant_plug TO grant_plug_dest;
133
ERROR 28000: Access denied for user 'grant_plug_dest'@'localhost'
134
This is a valid grant
135
GRANT PROXY ON grant_plug_dest TO grant_plug;
136
REVOKE PROXY ON grant_plug_dest FROM grant_plug;
137
this should work : same user
138
GRANT PROXY ON grant_plug_dest TO grant_plug_dest2;
139
REVOKE PROXY ON grant_plug_dest FROM grant_plug_dest2;
140
this should fail : not the same user
141
GRANT PROXY ON grant_plug_dest@localhost TO grant_plug WITH GRANT OPTION;
142
ERROR 28000: Access denied for user 'grant_plug_dest'@'localhost'
143
this should fail : not the same user
144
REVOKE PROXY ON grant_plug_dest@localhost FROM grant_plug;
145
ERROR 28000: Access denied for user 'grant_plug_dest'@'localhost'
146
this should fail : can't create users
147
GRANT PROXY ON grant_plug_dest TO grant_plug@localhost;
148
ERROR 42000: You are not allowed to create a user with GRANT
149
in default connection
150
# test what root can grant
151
should work : root has PROXY to all users
152
GRANT PROXY ON ''@'' TO grant_plug;
153
REVOKE PROXY ON ''@'' FROM grant_plug;
154
should work : root has PROXY to all users
155
GRANT PROXY ON ''@'' TO proxy_admin IDENTIFIED BY 'test'
157
need USAGE : PROXY doesn't contain it.
158
GRANT USAGE on *.* TO proxy_admin;
160
should work : proxy_admin has proxy to ''@''
161
GRANT PROXY ON future_user TO grant_plug;
162
in default connection
163
SHOW GRANTS FOR grant_plug;
164
Grants for grant_plug@%
165
GRANT ALL PRIVILEGES ON *.* TO 'grant_plug'@'%'
166
GRANT PROXY ON 'future_user'@'%' TO 'grant_plug'@'%'
167
REVOKE PROXY ON future_user FROM grant_plug;
168
SHOW GRANTS FOR grant_plug;
169
Grants for grant_plug@%
170
GRANT ALL PRIVILEGES ON *.* TO 'grant_plug'@'%'
172
CREATE USER test_drop@localhost;
173
GRANT PROXY ON future_user TO test_drop@localhost;
174
SHOW GRANTS FOR test_drop@localhost;
175
Grants for test_drop@localhost
176
GRANT USAGE ON *.* TO 'test_drop'@'localhost'
177
GRANT PROXY ON 'future_user'@'%' TO 'test_drop'@'localhost'
178
DROP USER test_drop@localhost;
179
SELECT * FROM mysql.proxies_priv WHERE Host = 'test_drop' AND User = 'localhost';
180
Host User Proxied_host Proxied_user With_grant Grantor Timestamp
181
DROP USER proxy_admin;
182
DROP USER grant_plug,grant_plug_dest,grant_plug_dest2;
183
## END GRANT PROXY tests
187
## @@proxy_user tests
188
CREATE USER plug IDENTIFIED WITH 'test_plugin_server' AS 'plug_dest';
189
CREATE USER plug_dest IDENTIFIED BY 'plug_dest_passwd';
190
GRANT PROXY ON plug_dest TO plug;
191
SELECT USER(),CURRENT_USER(),@@LOCAL.proxy_user;
192
USER() CURRENT_USER() @@LOCAL.proxy_user
193
root@localhost root@localhost NULL
194
SELECT @@GLOBAL.proxy_user;
195
ERROR HY000: Variable 'proxy_user' is a SESSION variable
196
SELECT @@LOCAL.proxy_user;
199
SET GLOBAL proxy_user = 'test';
200
ERROR HY000: Variable 'proxy_user' is a read only variable
201
SET LOCAL proxy_user = 'test';
202
ERROR HY000: Variable 'proxy_user' is a read only variable
203
SELECT @@LOCAL.proxy_user;
206
# in connection plug_con
207
SELECT @@LOCAL.proxy_user;
210
# in connection default
214
## END @@proxy_user tests
215
## @@external_user tests
216
CREATE USER plug IDENTIFIED WITH 'test_plugin_server' AS 'plug_dest';
217
CREATE USER plug_dest IDENTIFIED BY 'plug_dest_passwd';
218
GRANT PROXY ON plug_dest TO plug;
219
SELECT USER(),CURRENT_USER(),@@LOCAL.external_user;
220
USER() CURRENT_USER() @@LOCAL.external_user
221
root@localhost root@localhost NULL
222
SELECT @@GLOBAL.external_user;
223
ERROR HY000: Variable 'external_user' is a SESSION variable
224
SELECT @@LOCAL.external_user;
225
@@LOCAL.external_user
227
SET GLOBAL external_user = 'test';
228
ERROR HY000: Variable 'external_user' is a read only variable
229
SET LOCAL external_user = 'test';
230
ERROR HY000: Variable 'external_user' is a read only variable
231
SELECT @@LOCAL.external_user;
232
@@LOCAL.external_user
234
# in connection plug_con
235
SELECT @@LOCAL.external_user;
236
@@LOCAL.external_user
238
# in connection default
239
WL#5706 -- show the above got logged/rewritten correctly
240
SELECT argument FROM mysql.general_log WHERE argument LIKE CONCAT('%IDENTIFIED ','WITH %');
242
CREATE USER plug IDENTIFIED WITH 'test_plugin_server' AS 'plug_dest'
243
GRANT INSERT ON TEST.* TO grant_user IDENTIFIED WITH 'test_plugin_server'
244
CREATE USER `ļæ½` IDENTIFIED WITH 'test_plugin_server' AS 'plug_dest'
245
GRANT ALL PRIVILEGES ON test_grant_db.* TO new_grant_user
246
IDENTIFIED WITH 'test_plugin_server' AS 'plug_dest'
247
GRANT ALL PRIVILEGES ON test_grant_db.* TO plug
248
IDENTIFIED WITH 'test_plugin_server' AS 'plug_dest'
249
GRANT ALL PRIVILEGES ON test_grant_db.* TO plug_dest
250
IDENTIFIED WITH 'test_plugin_server' AS 'plug_dest'
251
CREATE USER grant_plug IDENTIFIED WITH 'test_plugin_server'
253
CREATE USER plug IDENTIFIED WITH 'test_plugin_server' AS 'plug_dest'
254
CREATE USER plug IDENTIFIED WITH 'test_plugin_server' AS 'plug_dest'
258
SET GLOBAL log_output= @old_log_output;
259
SET GLOBAL general_log= @old_general_log;
260
## END @@external_user tests
262
# Bug #56798 : Wrong credentials assigned when using a proxy user.
264
GRANT ALL PRIVILEGES ON *.* TO power_user;
265
GRANT USAGE ON anonymous_db.* TO ''@''
266
IDENTIFIED WITH 'test_plugin_server' AS 'power_user';
267
GRANT PROXY ON power_user TO ''@'';
268
CREATE DATABASE confidential_db;
269
SELECT user(),current_user(),@@proxy_user;
270
user() current_user() @@proxy_user
271
test_login_user@localhost power_user@% ''@''
272
DROP USER power_user;
274
DROP DATABASE confidential_db;
275
# Test case #2 (crash with double grant proxy)
276
CREATE USER ''@'' IDENTIFIED WITH 'test_plugin_server' AS 'standard_user';
277
CREATE USER standard_user;
278
CREATE DATABASE shared;
279
GRANT ALL PRIVILEGES ON shared.* TO standard_user;
280
GRANT PROXY ON standard_user TO ''@'';
282
GRANT PROXY ON standard_user TO ''@'';
284
DROP USER standard_user;
285
DROP DATABASE shared;
287
# Bug #57551 : Live upgrade fails between 5.1.52 -> 5.5.7-rc
289
CALL mtr.add_suppression("Missing system table mysql.proxies_priv.");
290
DROP TABLE mysql.proxies_priv;
291
# Must come back with mysql.proxies_priv absent.
292
SELECT * FROM mysql.proxies_priv;
293
ERROR 42S02: Table 'mysql.proxies_priv' doesn't exist
294
CREATE USER u1@localhost;
295
GRANT ALL PRIVILEGES ON *.* TO u1@localhost;
296
REVOKE ALL PRIVILEGES ON *.* FROM u1@localhost;
297
GRANT ALL PRIVILEGES ON *.* TO u1@localhost;
298
CREATE USER u2@localhost;
299
GRANT ALL PRIVILEGES ON *.* TO u2@localhost;
300
# access denied because of no privileges to root
301
GRANT PROXY ON u2@localhost TO u1@localhost;
302
ERROR 28000: Access denied for user 'root'@'localhost'
303
# access denied because of no privileges to root
304
REVOKE PROXY ON u2@localhost FROM u1@localhost;
305
ERROR 28000: Access denied for user 'root'@'localhost'
306
# go try graning proxy on itself, so that it will need the table
307
GRANT PROXY ON u2@localhost TO u1@localhost;
308
ERROR 42S02: Table 'mysql.proxies_priv' doesn't exist
309
REVOKE PROXY ON u2@localhost FROM u1@localhost;
310
ERROR 42S02: Table 'mysql.proxies_priv' doesn't exist
311
# test if REVOKE works without the proxies_priv table
312
REVOKE ALL PRIVILEGES ON *.* FROM u1@localhost, u2@localhost;
313
# test if DROP USER work without the proxies_priv table
314
DROP USER u1@localhost,u2@localhost;
315
# test if FLUSH PRIVILEGES works without the proxies_priv table
317
Warning: Using a password on the command line interface can be insecure.
318
Warning: Using a password on the command line interface can be insecure.
319
mysql.columns_priv OK
324
mysql.help_category OK
325
mysql.help_keyword OK
326
mysql.help_relation OK
328
mysql.innodb_index_stats OK
329
mysql.innodb_table_stats OK
330
mysql.ndb_binlog_index OK
335
mysql.slave_master_info OK
336
mysql.slave_relay_log_info OK
337
mysql.slave_worker_info OK
341
mysql.time_zone_leap_second OK
342
mysql.time_zone_name OK
343
mysql.time_zone_transition OK
344
mysql.time_zone_transition_type OK
346
Warning: Using a password on the command line interface can be insecure.
347
Warning: Using a password on the command line interface can be insecure.
348
Warning: Using a password on the command line interface can be insecure.
349
mtr.global_suppressions OK
350
mtr.test_suppressions OK
351
SELECT Host,User,Proxied_host,Proxied_user,With_grant FROM mysql.proxies_priv;
359
# Bug#58139 : default-auth option not recognized in MySQL standard
360
# command line clients
365
# Executing 'mysqladmin'
367
# Executing 'mysqldump'
368
# Executing 'mysql_upgrade'
369
The --upgrade-system-tables option was used, databases won't be touched.
371
# Bug #59657: Move the client authentication_pam plugin into the
374
CREATE USER uplain@localhost IDENTIFIED WITH 'cleartext_plugin_server'
377
ERROR 28000: Access denied for user 'uplain'@'localhost' (using password: YES)
378
select USER(),CURRENT_USER();
379
USER() CURRENT_USER()
380
uplain@localhost uplain@localhost
381
DROP USER uplain@localhost;
383
# Bug #59038 : mysql.user.authentication_string column
384
# causes configuration wizard to fail
385
INSERT INTO mysql.user(
405
Create_tmp_table_priv,
427
'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y',
428
'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y',
429
/*!50001 'Y', 'Y', 'Y', 'Y', 'Y', */'', '', '', '', '0', '0', '0');
431
DROP USER inserttest@localhost;
432
SELECT IS_NULLABLE, COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE
433
COLUMN_NAME IN ('authentication_string', 'plugin') AND
434
TABLE_NAME='user' AND
436
ORDER BY COLUMN_NAME;
437
IS_NULLABLE COLUMN_NAME
438
YES authentication_string
441
# Bug #11936829: diff. between mysql.user (authentication_string)
442
# in fresh and upgraded 5.5.11
444
SELECT IS_NULLABLE, COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS
445
WHERE TABLE_SCHEMA= 'mysql' AND TABLE_NAME= 'user' AND
446
COLUMN_NAME IN ('plugin', 'authentication_string')
447
ORDER BY COLUMN_NAME;
448
IS_NULLABLE COLUMN_NAME
449
YES authentication_string
451
ALTER TABLE mysql.user MODIFY plugin char(64) DEFAULT '' NOT NULL;
452
ALTER TABLE mysql.user MODIFY authentication_string TEXT NOT NULL;
453
Run mysql_upgrade on a 5.5.10 external authentication column layout
454
Warning: Using a password on the command line interface can be insecure.
455
Warning: Using a password on the command line interface can be insecure.
456
mysql.columns_priv OK
461
mysql.help_category OK
462
mysql.help_keyword OK
463
mysql.help_relation OK
465
mysql.innodb_index_stats OK
466
mysql.innodb_table_stats OK
467
mysql.ndb_binlog_index OK
471
mysql.proxies_priv OK
473
mysql.slave_master_info OK
474
mysql.slave_relay_log_info OK
475
mysql.slave_worker_info OK
479
mysql.time_zone_leap_second OK
480
mysql.time_zone_name OK
481
mysql.time_zone_transition OK
482
mysql.time_zone_transition_type OK
484
Warning: Using a password on the command line interface can be insecure.
485
Warning: Using a password on the command line interface can be insecure.
486
Warning: Using a password on the command line interface can be insecure.
487
mtr.global_suppressions OK
488
mtr.test_suppressions OK
489
SELECT IS_NULLABLE, COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS
490
WHERE TABLE_SCHEMA= 'mysql' AND TABLE_NAME= 'user' AND
491
COLUMN_NAME IN ('plugin', 'authentication_string')
492
ORDER BY COLUMN_NAME;
493
IS_NULLABLE COLUMN_NAME
494
YES authentication_string
497
# Bug #12610784: SET PASSWORD INCORRECTLY KEEP AN OLD EMPTY PASSWORD
499
CREATE USER bug12610784@localhost;
500
SET PASSWORD FOR bug12610784@localhost = PASSWORD('secret');
501
ERROR 28000: Access denied for user 'bug12610784'@'localhost' (using password: NO)
502
DROP USER bug12610784@localhost;
504
# Bug # 11766641: 59792: BIN/MYSQL -UUNKNOWN -PUNKNOWN
505
# .-> USING PASSWORD: NO
506
# shoud contain "using password=yes"
507
Warning: Using a password on the command line interface can be insecure.
508
ERROR 1045 (28000): Access denied for user 'unknown'@'localhost' (using password: YES)
509
# shoud contain "using password=no"
510
ERROR 1045 (28000): Access denied for user 'unknown'@'localhost' (using password: NO)
512
# Bug #12818542: PAM: ADDING PASSWORD FOR AN ACCOUNT DISABLES PAM
513
# AUTHENTICATION SETTINGS
515
CREATE USER bug12818542@localhost
516
IDENTIFIED WITH 'test_plugin_server' AS 'bug12818542_dest';
517
CREATE USER bug12818542_dest@localhost
518
IDENTIFIED BY 'bug12818542_dest_passwd';
519
GRANT PROXY ON bug12818542_dest@localhost TO bug12818542@localhost;
520
SELECT USER(),CURRENT_USER();
521
USER() CURRENT_USER()
522
bug12818542@localhost bug12818542_dest@localhost
523
SET PASSWORD = PASSWORD('bruhaha');
525
Note 1699 SET PASSWORD has no significance for users authenticating via plugins
526
SELECT USER(),CURRENT_USER();
527
USER() CURRENT_USER()
528
bug12818542@localhost bug12818542_dest@localhost
529
DROP USER bug12818542@localhost;
530
DROP USER bug12818542_dest@localhost;
532
# Bug #12818542: PAM: ADDING PASSWORD FOR AN ACCOUNT DISABLES PAM
533
# AUTHENTICATION SETTINGS
535
CREATE USER bug12818542@localhost
536
IDENTIFIED WITH 'test_plugin_server' AS 'bug12818542_dest';
537
CREATE USER bug12818542_dest@localhost
538
IDENTIFIED BY 'bug12818542_dest_passwd';
539
GRANT PROXY ON bug12818542_dest@localhost TO bug12818542@localhost;
540
SELECT USER(),CURRENT_USER();
541
USER() CURRENT_USER()
542
bug12818542@localhost bug12818542_dest@localhost
543
SET PASSWORD = PASSWORD('bruhaha');
545
Note 1699 SET PASSWORD has no significance for users authenticating via plugins
546
SELECT USER(),CURRENT_USER();
547
USER() CURRENT_USER()
548
bug12818542@localhost bug12818542_dest@localhost
549
DROP USER bug12818542@localhost;
550
DROP USER bug12818542_dest@localhost;