Commit 390db30f authored by Marco Pivetta's avatar Marco Pivetta

Merge pull request #445 from kimhemsoe/mysqli_docs

Added some mysqli documentation.
parents fa74679e 12d60350
...@@ -42,6 +42,7 @@ interfaces to use. It can be configured in one of three ways: ...@@ -42,6 +42,7 @@ interfaces to use. It can be configured in one of three ways:
extension. extension.
- ``drizzle_pdo_mysql``: A Drizzle driver that uses pdo\_mysql PDO - ``drizzle_pdo_mysql``: A Drizzle driver that uses pdo\_mysql PDO
extension. extension.
- ``mysqli``: A MySQL driver that uses the mysqli extension.
- ``pdo_sqlite``: An SQLite driver that uses the pdo\_sqlite PDO - ``pdo_sqlite``: An SQLite driver that uses the pdo\_sqlite PDO
extension. extension.
- ``pdo_pgsql``: A PostgreSQL driver that uses the pdo\_pgsql PDO - ``pdo_pgsql``: A PostgreSQL driver that uses the pdo\_pgsql PDO
...@@ -127,6 +128,23 @@ or ``/etc/drizzle/conf.d/mysql-unix-socket-protocol.cnf`` and restart drizzled d ...@@ -127,6 +128,23 @@ or ``/etc/drizzle/conf.d/mysql-unix-socket-protocol.cnf`` and restart drizzled d
- ``unix_socket`` (string): Name of the socket used to connect to - ``unix_socket`` (string): Name of the socket used to connect to
the database. the database.
mysqli
^^^^^^
- ``user`` (string): Username to use when connecting to the
database.
- ``password`` (string): Password to use when connecting to the
database.
- ``host`` (string): Hostname of the database to connect to.
- ``port`` (integer): Port of the database to connect to.
- ``dbname`` (string): Name of the database/schema to connect to.
- ``unix_socket`` (string): Name of the socket used to connect to
the database.
- ``charset`` (string): The charset used when connecting to the
database.
- ``driverOptions`` Any supported flags for mysqli found on `http://www.php.net/manual/en/mysqli.real-connect.php`
pdo\_pgsql pdo\_pgsql
^^^^^^^^^^ ^^^^^^^^^^
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment