Skip to content

Commit

Permalink
fix mysql create script (#1813)
Browse files Browse the repository at this point in the history
* fix mysql create script

* Tag v13.3.2
  • Loading branch information
svpernova09 authored Nov 6, 2022
1 parent f8a121f commit 347ef94
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/homestead
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if(is_file( __DIR__.'/../vendor/autoload.php')) {
require __DIR__.'/../../../autoload.php';
}

$app = new Symfony\Component\Console\Application('Laravel Homestead', '13.3.1');
$app = new Symfony\Component\Console\Application('Laravel Homestead', '13.3.2');

$app->add(new Laravel\Homestead\MakeCommand);
$app->add(new Laravel\Homestead\WslApplyFeatures);
Expand Down
10 changes: 9 additions & 1 deletion scripts/create-mysql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ password = secret
host = 127.0.0.1
EOF

cp /root/.my.cnf /home/vagrant/.my.cnf
cat > /home/vagrant/.my.cnf << EOF
[client]
user = homestead
password = secret
host = 127.0.0.1
EOF

chown vagrant /home/vagrant/.my.cnf


DB=$1;

Expand Down

0 comments on commit 347ef94

Please sign in to comment.