1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 21:41:22 +02:00
Files
archived-php-src/ext/pdo_mysql/tests
David Coallier 55ad0efd17 - Make test conform to the error reporting that always returns
three elements. Adjusted all bugs and tests that were using
  errorInfo() and errorCode() (dbh & stmt)
2008-11-10 18:44:04 +00:00
..
2008-10-19 12:20:43 +00:00
2008-07-23 10:23:08 +00:00
2008-07-23 10:23:08 +00:00
2008-07-23 10:23:08 +00:00
2008-10-19 18:23:53 +00:00
2008-07-23 10:23:08 +00:00
2008-07-23 10:23:08 +00:00
2008-07-23 10:23:08 +00:00
2008-07-23 10:23:08 +00:00
2008-10-19 12:43:34 +00:00
MFH
2008-07-23 13:04:18 +00:00
2008-10-01 19:45:22 +00:00
2008-10-09 01:08:55 +00:00
2008-10-19 18:08:29 +00:00
2008-07-24 12:54:50 +00:00

You must set the following environment variables to run the tests:

  PDO_MYSQL_TEST_DSN  - DSN
    For example: mysql:dbname=test;host=localhost;port=3306

  PDO_MYSQL_TEST_HOST     - database host
  PDO_MYSQL_TEST_DB      - database (schema) name
  PDO_MYSQL_TEST_SOCKET  - database server socket
  PDO_MYSQL_TEST_ENGINE  - storage engine to use
  PDO_MYSQL_TEST_USER    - database user
  PDO_MYSQL_TEST_PASS    - database user password
  PDO_MYSQL_TEST_CHARSET - database charset

  NOTE: if any of PDO_MYSQL_TEST_[HOST|DB|SOCKET|ENGINE|CHARSET] is
  part of PDO_MYSQL_TEST_DSN, the values must match. That is, for example,
  for PDO_MYSQL_TEST_DSN = mysql:dbname=test you MUST set PDO_MYSQL_TEST_DB=test.