Skip to content

Commit 73fe019

Browse files
authored
Merge pull request #489 from percona/ps-9756
PS-9756 [DOCS] - update post-installation for 8.4
2 parents 853b2de + 34360d4 commit 73fe019

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/post-installation.md

+15
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,21 @@ mysql> FLUSH PRIVILEGES;
173173
mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'rootPassword_12';
174174
mysql> exit
175175
```
176+
177+
If the command fails, with `ERROR 1524 (HY000): Plugin [plugin name] is not loaded.`, then check if the plugin is available.
178+
179+
```{.sql data-prompt="mysql>"}
180+
mysql> SELECT PLUGIN_NAME, PLUGIN_STATUS
181+
FROM INFORMATION_SCHEMA.PLUGINS
182+
WHERE PLUGIN_NAME LIKE 'validate%';
183+
```
184+
185+
If the result is empty or shows `DISABLED`, the plugin is not available. Switch the MySQL user to use the default authentication plugin, `caching_sha2_password` or `mysql_native_password` for your installation.
186+
187+
```{.sql data-prompt="mysql>"}
188+
mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'rootPassword_12';
189+
```
190+
176191
If, when adding the password, MySQL returns `ERROR 1819 (HY000) Your password does not satisfy the current policy`, run the following command to see policy requirement.
177192

178193
```{.sql data-prompt="mysql>"}

0 commit comments

Comments
 (0)