We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents febb1ea + 3ed03ae commit bf3e8dcCopy full SHA for bf3e8dc
db/mysql/FileMigration.php
@@ -54,6 +54,9 @@ public function up()
54
$command->addArg('-P', $dsnOpts['port']);
55
$command->addArg('-u', $this->db->username);
56
$command->addArg('--password=', $this->db->password);
57
+ if ($this->db->charset) {
58
+ $command->addArg('--default-character-set=', $this->db->charset);
59
+ }
60
61
foreach (CliHelper::getMysqlCliArgsFromPdo($this->db) as $opt => $value) {
62
$command->addArg($opt, $value);
0 commit comments