Open punkstar opened 6 years ago
The executeDbQuery method in the DemoProvisioner uses a shell out to mysql to execute the query. There's no need to do this - replace it with PDO.
executeDbQuery
DemoProvisioner
mysql
https://github.com/Space48/magento2-demo-platformsh/blob/1820b63a646273bca62e3de4ffb962b8609514c2/lib/Space48/PlatformSh/Magento/DemoProvisioner.php#L495-L526
I've replaced the core_config_data updates with calls to bin/magento config:set. All that's remaining now is the admin user password change - we could just remove it.
core_config_data
bin/magento config:set
The
executeDbQuery
method in theDemoProvisioner
uses a shell out tomysql
to execute the query. There's no need to do this - replace it with PDO.https://github.com/Space48/magento2-demo-platformsh/blob/1820b63a646273bca62e3de4ffb962b8609514c2/lib/Space48/PlatformSh/Magento/DemoProvisioner.php#L495-L526