Database settings not getting applied even though cmd is correct

Hi,

I recently tried updating a local private LAN ghost instance from 5.68.0. When upgrading to anything past that version, my ghost instance fails to start due to a database.js error.

After further review of making sure all configuration values are correct and my config.production.json is in the right spot and correct, I am stumped. I added a console.log to the database.js file that is throwing the error so that it outputs the connection options.

In v5.68.0 I get the first image

In v5.98.0 I get the second image

Even thought when I execute all the ghost config commands I get the correct values.

  • ghost config database.client - I get mysql
  • ghost config database.connection.database - I get ghost
  • ghost config database.connection.host - I get my_db_instance_ip
  • ghost config database.connection.password - I get my_db_instance_pw

Any other ideas what my next step is?

I have closed issues where I detailed a bit more what happened, but any help would be greatly appreciated!