Skip to content

Conversation

@mr-chetan
Copy link
Contributor

If there is no password in the DB connection, it will not connect and will throw an error.

This pull request includes a small update to the getMysqlArguments method in src/Illuminate/Database/Console/DbCommand.php. The change ensures that the --password argument is only included if a password is provided, improving the handling of optional connection parameters.

If there is no password in the database connection, it will not be connected, and an error will be thrown.
@taylorotwell taylorotwell merged commit b85f440 into laravel:12.x May 19, 2025
59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants