Commit 6fb5e0bf authored by Kim Hemsø Rasmussen's avatar Kim Hemsø Rasmussen

Added some documentation for the drizzle driver.

parent 116031ff
...@@ -50,6 +50,8 @@ interfaces to use. It can be configured in one of three ways: ...@@ -50,6 +50,8 @@ interfaces to use. It can be configured in one of three ways:
- ``pdo_sqlsrv``: A Microsoft SQL Server driver that uses pdo\_sqlsrv PDO - ``pdo_sqlsrv``: A Microsoft SQL Server driver that uses pdo\_sqlsrv PDO
- ``oci8``: An Oracle driver that uses the oci8 PHP extension. - ``oci8``: An Oracle driver that uses the oci8 PHP extension.
- ``sqlanywhere``: A SAP Sybase SQL Anywhere driver that uses the sqlanywhere PHP extension. - ``sqlanywhere``: A SAP Sybase SQL Anywhere driver that uses the sqlanywhere PHP extension.
- ``drizzle_pdo_mysql``: A drizzle driver that uses pdo\_mysql PDO
extension.
- ``driverClass``: Specifies a custom driver implementation if no - ``driverClass``: Specifies a custom driver implementation if no
'driver' is specified. This allows the use of custom drivers that 'driver' is specified. This allows the use of custom drivers that
...@@ -140,7 +142,7 @@ pdo\_oci / oci8 ...@@ -140,7 +142,7 @@ pdo\_oci / oci8
database. database.
pdo\_sqlsrv pdo\_sqlsrv
^^^^^^^^^^ ^^^^^^^^^^^
- ``user`` (string): Username to use when connecting to the - ``user`` (string): Username to use when connecting to the
...@@ -152,7 +154,7 @@ pdo\_sqlsrv ...@@ -152,7 +154,7 @@ pdo\_sqlsrv
- ``dbname`` (string): Name of the database/schema to connect to. - ``dbname`` (string): Name of the database/schema to connect to.
sqlanywhere sqlanywhere
^^^^^^^^^^ ^^^^^^^^^^^
- ``user`` (string): Username to use when connecting to the - ``user`` (string): Username to use when connecting to the
...@@ -178,6 +180,22 @@ platform version here: ...@@ -178,6 +180,22 @@ platform version here:
- `SQL Anywhere 12.0.1 <http://dcx.sybase.com/index.html#1201/en/dbadmin/da-conparm.html>`_ - `SQL Anywhere 12.0.1 <http://dcx.sybase.com/index.html#1201/en/dbadmin/da-conparm.html>`_
- `SAP Sybase SQL Anywhere 16.0 <http://dcx.sybase.com/index.html#sa160/en/dbadmin/da-conparm.html>`_ - `SAP Sybase SQL Anywhere 16.0 <http://dcx.sybase.com/index.html#sa160/en/dbadmin/da-conparm.html>`_
drizzle_pdo_mysql
^^^^^^^^^^^^^^^^^
**Requires** drizzle plugin ``mysql_protocol`` or ``mysql_unix_socket_protocol``.
On Ubuntu this can be be done by uncomment the configuration ``plugin-add=`` in
``/etc/drizzle/conf.d/mysql-protocol.cnf`` or ``/etc/drizzle/conf.d/mysql-unix-socket-protocol.cnf``
- ``user`` (string): Username to use when connecting to the
database. Only needed if authentication is configured for drizzled.
- ``password`` (string): Password to use when connecting to the
database. Only needed if authentication is configured for drizzled.
- ``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.
Custom Platform Custom Platform
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
......
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