← Back
Editing: set_password_deprecated.result
CREATE USER pwd_test_u1@localhost; CREATE USER pwd_test_u2@localhost; GRANT ALL ON *.* TO pwd_test_u2@localhost; SET PASSWORD= PASSWORD('Pass!@34w0rD'); Warnings: Warning 1287 'SET PASSWORD = PASSWORD('<plaintext_password>')' is deprecated and will be removed in a future release. Please use SET PASSWORD = '<plaintext_password>' instead set @saved_old_passwords= @@session.old_passwords; set @@session.old_passwords= 2; Warnings: Warning 1681 'old_passwords' is deprecated and will be removed in a future release. SET PASSWORD= PASSWORD( 'Pass!@34w0rD' ); Warnings: Warning 1287 'SET PASSWORD = PASSWORD('<plaintext_password>')' is deprecated and will be removed in a future release. Please use SET PASSWORD = '<plaintext_password>' instead set @@session.old_passwords= @saved_old_passwords; Warnings: Warning 1681 'old_passwords' is deprecated and will be removed in a future release. SET PASSWORD= PASSWORD( 'Pass!@34w0rD'); Warnings: Warning 1287 'SET PASSWORD = PASSWORD('<plaintext_password>')' is deprecated and will be removed in a future release. Please use SET PASSWORD = '<plaintext_password>' instead SET PASSWORD= PASSWORD('Pass!@34w0rD' ); Warnings: Warning 1287 'SET PASSWORD = PASSWORD('<plaintext_password>')' is deprecated and will be removed in a future release. Please use SET PASSWORD = '<plaintext_password>' instead SET PASSWORD= PASSWORD(''); Warnings: Warning 1287 'SET PASSWORD = PASSWORD('<plaintext_password>')' is deprecated and will be removed in a future release. Please use SET PASSWORD = '<plaintext_password>' instead SET PASSWORD FOR pwd_test_u1@localhost = PASSWORD('Pass!@34w0rD'); Warnings: Warning 1287 'SET PASSWORD FOR <user> = PASSWORD('<plaintext_password>')' is deprecated and will be removed in a future release. Please use SET PASSWORD FOR <user> = '<plaintext_password>' instead current_user pwd_test_u1@localhost set @saved_old_passwords= @@session.old_passwords; set @@session.old_passwords= 2; Warnings: Warning 1681 'old_passwords' is deprecated and will be removed in a future release. SET PASSWORD FOR pwd_test_u1@localhost = PASSWORD( 'Pass!@34w0rD' ); Warnings: Warning 1287 'SET PASSWORD FOR <user> = PASSWORD('<plaintext_password>')' is deprecated and will be removed in a future release. Please use SET PASSWORD FOR <user> = '<plaintext_password>' instead set @@session.old_passwords= @saved_old_passwords; Warnings: Warning 1681 'old_passwords' is deprecated and will be removed in a future release. current_user pwd_test_u1@localhost SET PASSWORD FOR pwd_test_u1@localhost = PASSWORD( 'Pass!@34w0rD'); Warnings: Warning 1287 'SET PASSWORD FOR <user> = PASSWORD('<plaintext_password>')' is deprecated and will be removed in a future release. Please use SET PASSWORD FOR <user> = '<plaintext_password>' instead current_user pwd_test_u1@localhost SET PASSWORD FOR pwd_test_u1@localhost = PASSWORD('Pass!@34w0rD' ); Warnings: Warning 1287 'SET PASSWORD FOR <user> = PASSWORD('<plaintext_password>')' is deprecated and will be removed in a future release. Please use SET PASSWORD FOR <user> = '<plaintext_password>' instead current_user pwd_test_u1@localhost SET PASSWORD FOR pwd_test_u2@localhost = PASSWORD('Pass!@34w0rD'); Warnings: Warning 1287 'SET PASSWORD FOR <user> = PASSWORD('<plaintext_password>')' is deprecated and will be removed in a future release. Please use SET PASSWORD FOR <user> = '<plaintext_password>' instead SET PASSWORD FOR pwd_test_u2@localhost = PASSWORD( 'Pass!@34w0rD' ); Warnings: Warning 1287 'SET PASSWORD FOR <user> = PASSWORD('<plaintext_password>')' is deprecated and will be removed in a future release. Please use SET PASSWORD FOR <user> = '<plaintext_password>' instead set @saved_old_passwords= @@session.old_passwords; set @@session.old_passwords= 2; Warnings: Warning 1681 'old_passwords' is deprecated and will be removed in a future release. SET PASSWORD FOR pwd_test_u2@localhost = PASSWORD( 'Pass!@34w0rD'); Warnings: Warning 1287 'SET PASSWORD FOR <user> = PASSWORD('<plaintext_password>')' is deprecated and will be removed in a future release. Please use SET PASSWORD FOR <user> = '<plaintext_password>' instead set @@session.old_passwords= @saved_old_passwords; Warnings: Warning 1681 'old_passwords' is deprecated and will be removed in a future release. SET PASSWORD FOR pwd_test_u2@localhost = PASSWORD('Pass!@34w0rD' ); Warnings: Warning 1287 'SET PASSWORD FOR <user> = PASSWORD('<plaintext_password>')' is deprecated and will be removed in a future release. Please use SET PASSWORD FOR <user> = '<plaintext_password>' instead SET PASSWORD FOR pwd_test_u2@localhost = PASSWORD(''); Warnings: Warning 1287 'SET PASSWORD FOR <user> = PASSWORD('<plaintext_password>')' is deprecated and will be removed in a future release. Please use SET PASSWORD FOR <user> = '<plaintext_password>' instead DROP USER pwd_test_u1@localhost; DROP USER pwd_test_u2@localhost;
Save File
Cancel