MySQL 8.0.11 removed support for old_password
See original GitHub issueSteps to Reproduce
- Install MySQL 8.0.11 or above
- Attempt to install Ghost
This error message:
Message: Creating new MySQL user errored with message:
ER_UNKNOWN_SYSTEM_VARIABLE: Unknown system variable 'old_passwords'
This is because MySQL 8.0.11 removed the old_passwords
variable! See here: https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_old_passwords
Log file
ghost-cli-debug-2018-10-02T03_29_13_544Z.log
Technical details
- OS: Ubuntu, v18.04
- Node Version: v8.12.0
- Ghost-CLI Version: 1.9.5
- Environment: production
- Command: ‘ghost setup mysql’
Bug submission checklist
Please fill out this checklist to acknowledge that you followed the requirements to submit a bug report.
- Tried to find help in the forum & docs
- Checked for existing issues
- Attached log file
- Provided technical details incl. operating system
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (5 by maintainers)
Top Results From Across the Web
2.11.4 Changes in MySQL 8.0
In MySQL 8.0.11, several deprecated features related to account management have been removed, such as use of the GRANT statement to modify nonprivilege ......
Read more >MySQL 8.0 Release Notes - MySQL Community Downloads
Changes in MySQL 8.0.11 (2018-04-19, General Availability) . ... variable is deprecated as of MySQL 8.0.31; expect support for it to be removed....
Read more >Changes in MySQL 8.0.31 (2022-10-11, General Availability)
The audit_log_flush variable is deprecated as of MySQL 8.0.31; expect support for it to be removed in a future version of MySQL.
Read more >Changes in MySQL 8.0.29 (2022-04-26, General Availability)
It was removed due to a critical issue that could cause data in ... GCC 11 is now a supported compiler for building...
Read more >MySQL 8.0.11 error connect to caching_sha2_password the ...
I tried looking at MySQL server installation videos online and replicated every step accurately, but the error persists. Any help is greatly ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
note for those watching this issue - I’m working on adding tentative support for MySQL 8 + ubuntu 20.04 support, tracked in #1265
if all goes well, should be able to get that support released sometime this week.
for those watching this ticket - just released Ghost-CLI 1.15.0 which includes support for Ubuntu 20 LTS as well as MySQL 8. Feel free to raise an issue if you see any problems with it 😄