Created
          November 11, 2016 09:28 
        
      - 
      
- 
        Save mass6/e26c8977393ee605331ba1aec5b8ddd1 to your computer and use it in GitHub Desktop. 
    Connection type for accessing homestead database from host machine
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 'mysql-local' => [ | |
| 'driver' => 'mysql', | |
| 'host' => env('DB_HOST', 'localhost') . ('homestead' == gethostname() ? null : ':33060'), | |
| 'port' => env('DB_PORT', '3306'), | |
| 'database' => env('DB_DATABASE', 'forge'), | |
| 'username' => env('DB_USERNAME', 'forge'), | |
| 'password' => env('DB_PASSWORD', ''), | |
| 'charset' => 'utf8', | |
| 'collation' => 'utf8_unicode_ci', | |
| 'prefix' => '', | |
| 'strict' => true, | |
| 'engine' => null, | |
| ], | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment