Skip to content

Commit

Permalink
Update installation-and-setup.md (#1843)
Browse files Browse the repository at this point in the history
SkipSsl in MySQL/MariaDB database connection
  • Loading branch information
diadal authored Sep 23, 2024
1 parent 6927499 commit f8de07c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docs/installation-and-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,25 @@ Here's an example for MySQL:
],
```

## SkipSsl in MySQL/MariaDB database connection
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

Here's an example for MySQL:

```php
//config/database.php
'connections' => [
'mysql' => [
'driver' => 'mysql'
...,
'dump' => [
'dump_binary_path' => '/path/to/the/binary', // only the path, so without `mysqldump` or `pg_dump`
'skip_ssl' => true, // default value is `false`
...,
]
],
```

### Timestamp form of database dumps

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.
Expand Down

0 comments on commit f8de07c

Please sign in to comment.