Skip to content

Commit

Permalink
Merge pull request #135 from laravel/fix/database-shell-with-mysql-57
Browse files Browse the repository at this point in the history
Fixes usage of the `database:shell` command with MySQL 5.7 databases
  • Loading branch information
nunomaduro authored Jun 28, 2021
2 parents 73532eb + 611b663 commit b71d000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/DatabaseShellCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function handle()

$user = $this->findDatabaseUser($database);

if (in_array($database['type'], ['rds', 'aurora-serverless'])) {
if (in_array($database['type'], ['rds', 'rds-mysql-5.7', 'aurora-serverless'])) {
passthru(sprintf(
'ssh -t ec2-user@%s -i %s -o LogLevel=error "mysql -u %s -p%s -h %s vapor"',
$jumpBox['endpoint'],
Expand Down

0 comments on commit b71d000

Please sign in to comment.