Search for db_host of 127.0.0.1 instead of localhost, which is now used in the .env.example file.

parent e1e5d669
...@@ -15,12 +15,12 @@ class EnvFileWriter ...@@ -15,12 +15,12 @@ class EnvFileWriter
* @var array * @var array
*/ */
protected $search = [ protected $search = [
"DB_CONNECTION=mysql", 'DB_CONNECTION=mysql',
"DB_PORT=3306", 'DB_PORT=3306',
"DB_HOST=localhost", 'DB_HOST=127.0.0.1',
"DB_DATABASE=homestead", 'DB_DATABASE=homestead',
"DB_USERNAME=homestead", 'DB_USERNAME=homestead',
"DB_PASSWORD=secret", 'DB_PASSWORD=secret',
]; ];
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment