Created
November 4, 2015 13:20
-
-
Save wallacemaxters/49a2afbe637d31ec4aa6 to your computer and use it in GitHub Desktop.
Arquivo de configuração do Laravel 3
This file contains 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
<?php | |
return array( | |
'profile' => true, | |
'fetch' => PDO::FETCH_CLASS, | |
'default' => 'mysql_gugu', | |
'connections' => array( | |
'sqlite' => array( | |
'driver' => 'sqlite', | |
'database' => 'application', | |
'prefix' => '', | |
), | |
'mysql_wallace' => array( | |
'driver' => 'mysql', | |
'host' => 'localhost', | |
'database' => 'cardvantagens', | |
'username' => 'root', | |
'password' => '123456', | |
'charset' => 'utf8', | |
'prefix' => '', | |
), | |
'mysql_gugu' => array( | |
'driver' => 'mysql', | |
'host' => '192.168.1.105', | |
'database' => 'cardvantagens', | |
'username' => 'user_ti', | |
'password' => '123456', | |
'charset' => 'utf8', | |
'prefix' => '', | |
), | |
'pgsql' => array( | |
'driver' => 'pgsql', | |
'host' => '127.0.0.1', | |
'database' => 'database', | |
'username' => 'root', | |
'password' => '', | |
'charset' => 'utf8', | |
'prefix' => '', | |
'schema' => 'public', | |
), | |
'sqlsrv' => array( | |
'driver' => 'sqlsrv', | |
'host' => '127.0.0.1', | |
'database' => 'database', | |
'username' => 'root', | |
'password' => '', | |
'prefix' => '', | |
), | |
), | |
/* | |
|-------------------------------------------------------------------------- | |
| Redis Databases | |
|-------------------------------------------------------------------------- | |
| | |
| Redis is an open source, fast, and advanced key-value store. However, it | |
| provides a richer set of commands than a typical key-value store such as | |
| APC or memcached. All the cool kids are using it. | |
| | |
| To get the scoop on Redis, check out: http://redis.io | |
| | |
*/ | |
'redis' => array( | |
'default' => array( | |
'host' => '127.0.0.1', | |
'port' => 6379, | |
'database' => 0 | |
), | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment