classRejectedPasswordHash
final class RejectedPasswordHash
implements Diagnostic
uses Snapshot
Public API: explicitly declared with
@visibility public.IDENTIFIED BY PASSWORD 'hash' in a MySQL 5.7 ALTER USER.
The 5.7 grammar shares the account list of GRANT and CREATE USER with ALTER USER, and the server rejects this form there with a syntax error. Source: https://dev.mysql.com/doc/refman/5.7/en/alter-user.html.
(new \SqlSemantics\Platform\MySql\Statement\Account\Problem\RejectedPasswordHash())->message() // => 'ALTER USER does not accept IDENTIFIED BY PASSWORD.'Methods§
public function message(): stringDescribes the problem.
Returns
stringTest cases 1
Test cases 2§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.