diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-11-09 13:24:52 -0800 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-11-09 13:24:52 -0800 |
commit | 95b2a36886a763242e11b4b27998a0d5c51ca7f4 (patch) | |
tree | 304af0b8671e405aea37591f100f40198b30d626 /doc | |
parent | 877c61d2792b90008d2ea865eabaa9af94b04a80 (diff) |
Improve documentation about Mysql connection
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en_US/mysql-configuration.markdown | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/en_US/mysql-configuration.markdown b/doc/en_US/mysql-configuration.markdown index c199353e..27d5141d 100644 --- a/doc/en_US/mysql-configuration.markdown +++ b/doc/en_US/mysql-configuration.markdown @@ -55,6 +55,12 @@ mysql -u root -p my_database < app/Schema/Sql/mysql.sql The file `app/Schema/Sql/mysql.sql` is a SQL dump that represents the last version of the database. +If you would like to use Unix socket connection, try this: + +```php +define('DB_HOSTNAME', '127.0.0.1;unix_socket=/var/run/mysqld/mysqld.sock'); +``` + SSL configuration ----------------- |