| 1 |
# |
| 2 |
# Bug #35336317: Deprecate mysql_native_password |
| 3 |
# |
| 4 |
include/assert_grep.inc [There shouldn't be a warning when no user authenticated with native] |
| 5 |
CREATE USER bug35336317@localhost IDENTIFIED WITH 'mysql_native_password'; |
| 6 |
include/assert_grep.inc [There should be one warning from CREATE USER] |
| 7 |
# connect mysql_native_user |
| 8 |
include/assert_grep.inc [There should be a 2nd warning when authenticating mysql_native_password] |
| 9 |
ALTER USER bug35336317@localhost IDENTIFIED WITH 'mysql_native_password' BY 'foo'; |
| 10 |
include/assert_grep.inc [There should be a 3nd warning from ALTER USER] |
| 11 |
SET PASSWORD FOR bug35336317@localhost = 'baz'; |
| 12 |
include/assert_grep.inc [And a 4th warning from SET PASSWORD] |
| 13 |
DROP USER bug35336317@localhost; |
| 14 |
# End of 8.0 tests |