Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 531e2533dd

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README
bug41125.phpt
bug44327.phpt
bug46292.phpt
bug53551.phpt
bug53782.phpt
bug54929.phpt
bug_33689.phpt
bug_37445.phpt
bug_39483.phpt
bug_39858.phpt
bug_41125.phpt
bug_41698.phpt
bug_41997.phpt
bug_42499.phpt
bug_43371.phpt
bug_44454.phpt
bug_44707.phpt
bug_45120.phpt
bug_50323.phpt
bug_51670.phpt
bug_61207.phpt
bug_61411.phpt
bug_61755.phpt
bug_pecl_12925.phpt
bug_pecl_7976.phpt
common.phpt
config.inc
last_insert_id.phpt
mysql_pdo_test.inc
pdo_mysql___construct.phpt
pdo_mysql___construct_ini.phpt
pdo_mysql___construct_options.phpt
pdo_mysql___construct_options_libmysql.phpt
pdo_mysql___construct_uri.phpt
pdo_mysql_attr_autocommit.phpt
pdo_mysql_attr_case.phpt
pdo_mysql_attr_client_version.phpt
pdo_mysql_attr_connection_status.phpt
pdo_mysql_attr_driver_name.phpt
pdo_mysql_attr_errmode.phpt
pdo_mysql_attr_fetch_table_names.phpt
pdo_mysql_attr_init_command.phpt
pdo_mysql_attr_max_buffer_size.phpt
pdo_mysql_attr_oracle_nulls.phpt
pdo_mysql_attr_prefetch.phpt
pdo_mysql_attr_server_info.phpt
pdo_mysql_attr_server_version.phpt
pdo_mysql_attr_statement_class.phpt
pdo_mysql_begintransaction.phpt
pdo_mysql_bit.phpt
pdo_mysql_class_constants.phpt
pdo_mysql_commit.phpt
pdo_mysql_connect_charset.phpt
pdo_mysql_errorcode.phpt
pdo_mysql_errorinfo.phpt
pdo_mysql_exec.phpt
pdo_mysql_exec_ddl.phpt
pdo_mysql_exec_load_data.phpt
pdo_mysql_exec_select.phpt
pdo_mysql_fetch_both.phpt
pdo_mysql_get_attribute.phpt
pdo_mysql_interface.phpt
pdo_mysql_last_insert_id.phpt
pdo_mysql_pconnect.phpt
pdo_mysql_phpinfo.phpt
pdo_mysql_prepare_emulated.phpt
pdo_mysql_prepare_emulated_anonymous.phpt
pdo_mysql_prepare_emulated_placeholder_everywhere.phpt
pdo_mysql_prepare_load_data.phpt
pdo_mysql_prepare_match_against.phpt
pdo_mysql_prepare_native.phpt
pdo_mysql_prepare_native_clear_error.phpt
pdo_mysql_prepare_native_column.phpt
pdo_mysql_prepare_native_dup_named_placeholder.phpt
pdo_mysql_prepare_native_mixed_style.phpt
pdo_mysql_prepare_native_named_placeholder.phpt
pdo_mysql_prepare_native_placeholder_everywhere.phpt
pdo_mysql_rollback.phpt
pdo_mysql_stmt_bindcolumn.phpt
pdo_mysql_stmt_bindparam.phpt
pdo_mysql_stmt_bindparam_types.phpt
pdo_mysql_stmt_bindvalue.phpt
pdo_mysql_stmt_blobfromsteam.phpt
pdo_mysql_stmt_blobs.phpt
pdo_mysql_stmt_closecursor.phpt
pdo_mysql_stmt_closecursor_empty.phpt
pdo_mysql_stmt_columncount.phpt
pdo_mysql_stmt_errorcode.phpt
pdo_mysql_stmt_errorinfo.phpt
pdo_mysql_stmt_fetch_non_select.phpt
pdo_mysql_stmt_fetch_serialize.phpt
pdo_mysql_stmt_fetch_serialize_simple.phpt
pdo_mysql_stmt_fetchobject.phpt
pdo_mysql_stmt_getcolumnmeta.phpt
pdo_mysql_stmt_multiquery.phpt
pdo_mysql_stmt_nextrowset.phpt
pdo_mysql_stmt_rowcount.phpt
pdo_mysql_stmt_unbuffered_2050.phpt
pdo_mysql_stmt_variable_columncount.phpt
pdo_mysql_subclass.phpt
pdo_mysql_types.phpt
pdo_mysql_types_zerofill.phpt
pecl_bug_5200.phpt
pecl_bug_5780.phpt
pecl_bug_5802.phpt
show_tables.phpt
skipif.inc
table.inc

README

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.
Something went wrong with that request. Please try again.