Commit Graph

42 Commits

Author SHA1 Message Date
Frederik Sauer bdca9d4781 Added port to sqlsrv settings
Most installations won't work without it.
2017-05-03 23:55:48 +02:00
Hélio 94b39dc576 Fix the commit for pass StyleCI 2017-05-03 13:22:10 -03:00
Hélio e26bd3ffb0 Add sqlsrv as group connection
Since the doc says that the Laravel supports SQL Server out of the box, makes sense add it, out of the box.
2017-05-03 13:20:25 -03:00
Brent Shaffer a812983d0b Adds socket to config/database.php for consistency
For the mysql driver only (as this only applies to mysql) add the "socket" configuration parameter and corresponding environment variable.
2017-03-15 17:23:34 -07:00
Taylor Otwell 770c41552f Remove fetch mode option. 2017-01-02 17:18:35 -06:00
Graham Campbell 36875bb98e Merge branch 'master' into develop 2016-12-29 13:03:32 +00:00
Taylor Otwell 45b779f807 cluster option not needed anymore 2016-12-12 16:05:32 -06:00
Damien Criado 7d4115f0ca Fix `AUTH` failed: ERR Client sent AUTH 2016-12-06 01:01:43 +01:00
Taylor Otwell c803ff1caa revert broken PR 2016-11-16 15:15:29 -06:00
Taylor Otwell 8182b99112 Applied fixes from StyleCI 2016-11-16 20:57:24 +00:00
Loki Else 69df2ada11 Support predis v1.1.1
fix: `AUTH failed: ERR Client sent AUTH, but no password is set [tcp://127.0.0.1:6379]`

According to predix release log: https://github.com/nrk/predis/releases/tag/v1.1.1
2016-11-16 17:17:52 +08:00
Diogo Azevedo 9ca8ed9960 Update the default redis host 2016-11-14 23:44:01 -02:00
Roberto Aguilar fd42e10a5f Changes localhost to 127.0.0.1 in database config
In https://github.com/laravel/laravel/pull/3641 was decided to use `127.0.0.1` instead of `localhost` to avoid DNS lookups

This change is to maintain consistency between `.env` and `database.php`
2016-11-14 15:19:31 -06:00
Taylor Otwell 9d01389ce3 use utf8mb4 as default character set 2016-10-24 16:07:22 -05:00
Taylor Otwell d880fb5f85 no need for env 2016-09-22 12:26:13 -05:00
Till Krüss 54ee465deb Added `database.redis.client` configuration 2016-09-21 13:34:46 -07:00
vlakoff 07c95968b7 Use proper PDO fetch style 2016-06-19 05:16:51 +02:00
Jorge González 8fc0df14bb Add "sslmode" setting for PostgreSQL connection
The commit 586bffa1d7 added support for sslmode in PostgresConnector.php and sslmode has been around since postgres version 9.1 (2011). 

This change makes it possible to specify sslmode from the config file.

Also serves as documentation to other developers so they don't have to
dive deep into the code to figure out that it's posible to set this option.

The posible values for sslmode are:
    disable, allow, prefer, require, verify-ca, verify-full

The default value is "prefer".

http://www.postgresql.org/docs/9.5/static/libpq-ssl.html#LIBPQ-SSL-PROTECTION
2016-05-12 00:59:15 -05:00
Adam14Four f237656c68 Enabled MySQL "strict" mode by default 2016-05-10 12:30:43 -07:00
Matthias Niess eb7743f577 allow for setting sqlite database via env 2016-03-21 20:58:55 +01:00
Taylor Otwell ec0e06e783 cleaning up configs 2016-03-01 08:23:00 -06:00
TGM 8dbd26020a Replaced TAB with space 2016-03-01 14:31:07 +02:00
TGM 9fc55e8464 Added DB_PORT as a default enviroment variable 2016-03-01 14:29:05 +02:00
david-ridgeonnet 89d693b5e6 Added default engine in configuration 2016-02-03 14:34:03 +00:00
Taylor Otwell 8c27cb56d0 default to null 2015-12-07 12:05:42 -06:00
Taylor Otwell 4fba29c0ec fix problems 2015-12-07 12:03:49 -06:00
Cory Fowler a33c66cf47 changed redis support to load config from env 2015-12-01 14:15:22 -08:00
pedes42 879bc14650 Replace storage_path with database_path helper
According to the docs, the sqlite database should be located within the "database" folder.
2015-09-18 14:16:52 +02:00
Bas Peters 2c4964e159 Set default charset for sqlsrv driver to utf8 2015-06-11 17:20:30 +02:00
Graham Campbell 060938bc66 PSR-2
Signed-off-by: Graham Campbell <graham@cachethq.io>
2015-06-01 15:46:32 +01:00
Jimmy Puckett 4ee6523dfa Using the path parameter in the path method. 2015-05-28 15:31:26 -04:00
Marcelo Canina 5c16c21817 Add env variable to database default connection 2015-05-25 15:46:57 -03:00
Taylor Otwell f424b87a63 PSR-2 for app. 2015-02-22 20:47:03 -06:00
Taylor Otwell ff13943dbe Merge pull request #3200 from overtrue/patch-3
[5.0]Modify the wording of env() default values
2015-01-02 16:27:45 -06:00
vlakoff 88b90c7218 Add "strict" setting for MySQL connection.
Signed-off-by: Graham Campbell <graham@mineuk.com>
2014-12-30 22:52:03 +00:00
Carlos - 安正超 38e9a241db Modify the wording of env() default values 2014-12-30 10:06:17 +08:00
Taylor Otwell 93434d8679 Use the "Env" helper which has boolean support. 2014-12-15 13:07:04 -06:00
Taylor Otwell 83a5602df1 Use environment options in database config. 2014-12-15 08:44:30 -06:00
Taylor Otwell ce48990bf2 Tweak some paths again. 2014-12-15 08:42:13 -06:00
Taylor Otwell 532297c109 Work on default project structure. 2014-12-08 09:31:31 -06:00
Taylor Otwell 76c84d8652 Convert configuration PHP 5.4 arrays. 2014-08-24 14:03:58 -05:00
Taylor Otwell 9aae50e501 Working on the default app structure. 2014-08-18 22:46:16 -05:00