Skip to content

Commit 343cc45

Browse files
committed
Applied kenjis' changes
1 parent 5750dc8 commit 343cc45

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

user_guide_src/source/database/configuration.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,3 +200,19 @@ Explanation of Values:
200200
etc.) not all values will be needed. For example, when using ``SQLite3`` you
201201
will not need to supply a username or password, and the database name
202202
will be the path to your database file.
203+
204+
MySQLi
205+
======
206+
207+
hostname
208+
--------
209+
210+
Configuring a Socket Connection
211+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
212+
213+
To connect to a MySQL server over a filesystem socket, the path to the socket should be specified in
214+
the ``'hostname'`` setting. CodeIgniter's MySQLi driver will notice this and configure the
215+
connection properly.
216+
217+
.. literalinclude:: configuration/011.php
218+
:lines: 11-18

0 commit comments

Comments
 (0)