We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5750dc8 commit 343cc45Copy full SHA for 343cc45
user_guide_src/source/database/configuration.rst
@@ -200,3 +200,19 @@ Explanation of Values:
200
etc.) not all values will be needed. For example, when using ``SQLite3`` you
201
will not need to supply a username or password, and the database name
202
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