xref: /PHP-5.4/ext/pdo_mysql/tests/README (revision be0793d2)
1You must set the following environment variables to run the tests:
2
3  PDO_MYSQL_TEST_DSN  - DSN
4    For example: mysql:dbname=test;host=localhost;port=3306
5
6  PDO_MYSQL_TEST_HOST     - database host
7  PDO_MYSQL_TEST_DB      - database (schema) name
8  PDO_MYSQL_TEST_SOCKET  - database server socket
9  PDO_MYSQL_TEST_ENGINE  - storage engine to use
10  PDO_MYSQL_TEST_USER    - database user
11  PDO_MYSQL_TEST_PASS    - database user password
12  PDO_MYSQL_TEST_CHARSET - database charset
13
14  NOTE: if any of PDO_MYSQL_TEST_[HOST|DB|SOCKET|ENGINE|CHARSET] is
15  part of PDO_MYSQL_TEST_DSN, the values must match. That is, for example,
16  for PDO_MYSQL_TEST_DSN = mysql:dbname=test you MUST set PDO_MYSQL_TEST_DB=test.
17