| 1 |
source include/not_embedded.inc; |
| 2 |
|
| 3 |
call mtr.add_suppression('failed to read private_key.pem: 2 "No such file or directory"'); |
| 4 |
|
| 5 |
if (`select count(*) = 0 from information_schema.plugins where plugin_name = 'caching_sha2_password'`) |
| 6 |
{ |
| 7 |
--skip Needs caching_sha2_password plugin |
| 8 |
} |
| 9 |
|
| 10 |
show status like 'caching_sha2_password%'; |
| 11 |
|
| 12 |
create user test1@'%' identified via caching_sha2_password using PASSWORD('pwd'); |
| 13 |
create user test2@'%' identified via caching_sha2_password; |
| 14 |
show grants for test2@'%'; |
| 15 |
|
| 16 |
create procedure checkme() sql security invoker |
| 17 |
select user(), current_user(), variable_value > '' as 'have_ssl' |
| 18 |
from information_schema.session_status |
| 19 |
where variable_name='ssl_cipher'; |
| 20 |
|
| 21 |
grant execute on test.* to test1@'%', test2@'%'; |