summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/en_US/mysql-configuration.markdown6
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
-----------------