[12.x] Add option to disable MySQL ssl when restoring or squashing migrations#55683
Conversation
|
I don't think this is correct at all @andersonls, $ mysql -V
mysql Ver 14.14 Distrib 8.0.0-dmr, for Linux (x86_64) using EditLine wrapper
$ mysql --ssl=off
mysql: [ERROR] unknown variable 'ssl=off' |
|
@Jellyfrog please check #55758, there is a WIP fixing this. My system was aliasing the mysql exec to mariadb and mariadb still uses the |
|
@taylorotwell Why was this change reverted here? 1bfad30 With the new Debian 13 release, the |
|
@gazben in short, because the |
Newer versions of the MySQL client are enforcing a more strict SSL certificate check and resulting in the following error when squashing migrations or running
migrate:freshCurrently, to bypass this error we need to edit the MySQL config file. To make things easier, this PR adds a new option to disable SSL when executing the commands to dump/restore MySQL database.