@@ -20,9 +20,8 @@ parameters:
2020| driver | string | Name of the database system to connect to, taken from the list of |
2121| | | available drivers. |
2222| | | |
23- | | | | |
24- | | | |
2523| | | For ADODB, see http://phplens.com/adodb/supported.databases.html |
24+ | | | |
2625| | | For Doctrine DBAL, see http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#driver |
2726+-----------------+---------------+------------------------------------------------------------------------------------------------------------------------------+
2827| server | string | Address of the server to connect to. |
@@ -36,8 +35,6 @@ parameters:
3635| uri | string | Connection information in URI-like syntax. **Used only with Doctrine DBAL. ** Reference: |
3736| | | http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url |
3837| | | |
39- | | | | |
40- | | | |
4138| | | **Example: ** |
4239| | | |
4340| | | .. code-block:: text |
@@ -50,8 +47,6 @@ parameters:
5047| | | parameter :code: `query `) is executed. This is typically used to |
5148| | | temporarily change the encoding. |
5249| | | |
53- | | | | |
54- | | | |
5550| | | **Example: ** |
5651| | | |
5752| | | .. code-block:: sql |
@@ -63,8 +58,6 @@ parameters:
6358| | | Used to choose the fetch mode, which influences the type of |
6459| | | array returned by the recordset (numerical, associative or both) |
6560| | | |
66- | | | | |
67- | | | |
6861| | | For ADODB, use numerical values. Reference: http://phplens.com/lens/adodb/docs-adodb.htm#adodb_fetch_mode |
6962| | | |
7063| | | For Doctrine DBAL, use the name of the constants from the PDO drivers. |
@@ -77,24 +70,15 @@ parameters:
7770Connection methods
7871^^^^^^^^^^^^^^^^^^
7972
80- The current implementation of the SQL Connector only uses the classic way of setting up a connection:
81-
82- .. code-block :: php
83-
84- $adodbObject = ADONewConnection($parameters['driver']);
85- $adodbObject->Connect(
86- $parameters['server'],
87- $parameters['user'],
88- $parameters['password'],
89- $parameters['database']
90- );
73+ The connections are established by the classes found in :file: `Classes\\ Database `.
74+ The ADODB library is a bit tricky to use, as not all connections are made the same
75+ way, using the same parameters. Thus you may find that some connections don't work.
9176
92- that is, with the four standard parameters: server, user, password and database.
93- This does not work for all database systems, but I currently had no use for more,
94- nor a proper setup to test with other database system.
95- The current version of the SQL connector was tested only with MySQL and PostgreSQL.
77+ In that regard, Doctrine DBAL is far better structured and should connect
78+ seamlessly with all officially supported DBMS.
9679
9780If you encounter problems connecting to some database system,
9881please report an issue in the
99- `dedicated bug tracker <http://forge.typo3.org/projects/extension-svconnector_sql/issues >`_
100- indicating as clearly as possible what connection syntax you would need.
82+ `dedicated bug tracker <https://github.com/cobwebch/svconnector_sql/issues >`_
83+ indicating as clearly as possible what connection syntax you would need
84+ (for ADODB).
0 commit comments