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.
1 parent d5aceb8 commit 0a0acd9Copy full SHA for 0a0acd9
src/Illuminate/Database/Connectors/MySqlConnector.php
@@ -23,7 +23,7 @@ public function connect(array $config)
23
// connection's behavior, and some might be specified by the developers.
24
$connection = $this->createConnection($dsn, $config, $options);
25
26
- if (! empty($config['database']) &&
+ if (! empty($config['database']) &&
27
(! isset($config['use_db_after_connecting']) ||
28
$config['use_db_after_connecting'])) {
29
$connection->exec("use `{$config['database']}`;");
0 commit comments