Skip to content

Instantly share code, notes, and snippets.

@muzudho
Last active June 21, 2017 04:36
Show Gist options
  • Save muzudho/0ce6d0cd483c96144f853fd5fb5647ac to your computer and use it in GitHub Desktop.
Save muzudho/0ce6d0cd483c96144f853fd5fb5647ac to your computer and use it in GitHub Desktop.
Laravel の独習をこれから始めてみようぜ ref: http://qiita.com/muzudho1/items/524400c6d53ffbf4c0eb
'mysql' => [
'read' => [
'host' => '192.168.1.1',
],
'write' => [
'host' => '196.168.1.2'
],
'driver' => 'mysql',
'database' => 'database',
'username' => 'root',
'password' => '',
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
],
mysql :
read :
host : 192.168.1.1
write :
host : 196.168.1.2
driver : mysql
database : database
username : root
password :
charset : utf8
collation : utf8_unicode_ci
prefix :
$this->drip->send(User::find($this->argument('user')));
this.drip.send( User.find( this.argument("user") ) ) ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment