From 95b2a36886a763242e11b4b27998a0d5c51ca7f4 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 9 Nov 2017 13:24:52 -0800 Subject: Improve documentation about Mysql connection --- doc/en_US/mysql-configuration.markdown | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/en_US') 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 ----------------- -- cgit v1.2.3