So, I've been playing with this upgrade on our dev system today and had to upgrade our MYSQL from 5.7 to 8.0.21.
Dumped the atom DB, recreated with the new encoding, reloaded the data... and now when I go to run the upgrade step, I get the error below...
Tried with the native MySQL 8 settings, plus adding in "default_authentication_plugin=mysql_native_password"
Unable to open PDO connection [wrapped: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client]
[exception] 500 | Internal Server Error | PropelException[message] Unable to open PDO connection [wrapped: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client][stack trace]
at () in SF_ROOT_DIR/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/Propel.php line 619
at Propel::initConnection(array('dsn' => 'mysql:dbname=atom;port=3306', 'user' => 'SQLUser', 'password' => 'SQLPwd', 'classname' => 'PropelPDO', 'options' => <em>array</em>('ATTR_PERSISTENT' => 1), 'settings' => <em>array</em>('charset' => <em>array</em>('value' => 'utf8mb4'), 'queries' => <em>array</em>())), 'propel') in SF_ROOT_DIR/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel/Propel.php line 532
at Propel::getConnection('propel') in SF_ROOT_DIR/lib/model/om/BaseObject.php line 64
at BaseObject::get(object('Criteria')) in SF_ROOT_DIR/lib/routing/QubitResourceRoute.class.php line 28
at QubitResourceRoute->bind(array('path_info' => '/', 'prefix' => 'symfony/symfony', 'method' => 'GET', 'format' => <em>null</em>, 'host' => '', 'is_secure' => , 'request_uri' => 'http://'), array('module' => 'staticpage', 'action' => 'home', 'slug' => 'home')) in SF_ROOT_DIR/vendor/symfony/lib/routing/sfPatternRouting.class.php line 372
at sfPatternRouting->parse('/') in SF_ROOT_DIR/lib/QubitPatternRouting.class.php line 38
at QubitPatternRouting->parse('/') in SF_ROOT_DIR/cache/qubit/cli/config/config_factories.yml.php line 96
at require('/usr/share/nginx/atom-2.6.0/cache/qubit/cli/config/config_factories.yml.php') in SF_ROOT_DIR/vendor/symfony/lib/util/sfContext.class.php line 155
at sfContext->loadFactories() in SF_ROOT_DIR/vendor/symfony/lib/util/sfContext.class.php line 77
at sfContext->initialize(object('qubitConfiguration')) in SF_ROOT_DIR/vendor/symfony/lib/util/sfContext.class.php line 60
at sfContext::createInstance(object('qubitConfiguration')) in SF_ROOT_DIR/lib/task/migrate/arUpgradeSqlTask.class.php line 79
at QubitUpgradeSqlTask->execute(array('task' => 'tools:upgrade-sql', 'target' => <em>null</em>), array('help' => , 'quiet' => , 'trace' => , 'version' => , 'color' => , 'application' => 'qubit', 'env' => 'cli', 'connection' => 'propel', 'no-confirmation' => , 'verbose' => )) in SF_ROOT_DIR/vendor/symfony/lib/task/sfBaseTask.class.php line 68
at sfBaseTask->doRun(object('sfCommandManager'), null) in SF_ROOT_DIR/vendor/symfony/lib/task/sfTask.class.php line 97
at sfTask->runFromCLI(object('sfCommandManager'), null) in SF_ROOT_DIR/vendor/symfony/lib/command/sfSymfonyCommandApplication.class.php line 76
at sfSymfonyCommandApplication->run() in SF_ROOT_DIR/vendor/symfony/lib/command/cli.php line 20
at include('/usr/share/nginx/atom-2.6.0/vendor/symfony/lib/command/cli.php') in SF_ROOT_DIR/symfony line 14
[symfony] v. 1.4.20 (
symfony-project.org)
[PHP] v. 7.2.32