Skip to content

Commit f8de07c

Browse files
authored
Update installation-and-setup.md (#1843)
SkipSsl in MySQL/MariaDB database connection
1 parent 6927499 commit f8de07c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/installation-and-setup.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,25 @@ Here's an example for MySQL:
393393
],
394394
```
395395

396+
## SkipSsl in MySQL/MariaDB database connection
397+
set the value of `dump.skip_ssl` to `true` in your `config/database.php` to bypass **`TLS/SSL error: self-signed certificate`** error while establishing a database connection
398+
399+
Here's an example for MySQL:
400+
401+
```php
402+
//config/database.php
403+
'connections' => [
404+
'mysql' => [
405+
'driver' => 'mysql'
406+
...,
407+
'dump' => [
408+
'dump_binary_path' => '/path/to/the/binary', // only the path, so without `mysqldump` or `pg_dump`
409+
'skip_ssl' => true, // default value is `false`
410+
...,
411+
]
412+
],
413+
```
414+
396415
### Timestamp form of database dumps
397416

398417
By default, database dump filenames do not contain a timestamp. If you would like to add a timestamp, you can set the timestamp format to be used in the config.

0 commit comments

Comments
 (0)