question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MySQL 8.0.11 removed support for old_password

See original GitHub issue

Steps to Reproduce

  1. Install MySQL 8.0.11 or above
  2. 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:closed
  • Created 5 years ago
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
acburdinecommented, Oct 6, 2020

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.

3reactions
acburdinecommented, Oct 10, 2020

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 😄

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found