php-src/ext/pdo_mysql/tests
2024-08-21 21:12:17 +01:00
..
foo Fix #80329: Add option to specify LOAD DATA LOCAL white list folder 2021-02-23 09:30:46 +01:00
inc Implement PDO driver-specific subclasses 2024-01-11 23:22:41 +01:00
bug41125.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug44327.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug46292.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug53551.phpt Fix PDO unit test description 2024-01-22 17:29:17 +01:00
bug53782.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug54929.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug63176.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug63185.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug66141.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug66528.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug66878.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug67004.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug68371.phpt ext/pdo: Fixed PDO::setAttribute() and PDO::getAttribute() (#12793) 2023-12-04 16:05:30 +00:00
bug70066.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug70272.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug70389.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug70862.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug71145.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug71569.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug75177.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug76815.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug77289.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug78152.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug79132.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug79375.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug79596.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug79872.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug80458.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug80808.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug80908.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug81037.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_33689.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_37445.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_38546.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_39483.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_39858.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_41125.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_41698.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_41997.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_42499.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_43371.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_44454.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_44707.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_45120.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_50323.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_51670.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_61207.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_61411.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_61755.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_64705.phpt Prefer EXPECT over EXPECTF 2021-06-29 17:13:02 +02:00
bug_74376.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_pecl_7976.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
bug_pecl_12925.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
change_column_count.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
common.phpt Migrate more SKIPIF -> EXTENSIONS (#7139) 2021-06-11 12:58:44 +02:00
CONFLICTS Implement fine-grained conflict handling 2019-02-20 11:20:40 +01:00
construct_persistent_failure.phpt Fix leak when persistent PDO connection fails 2021-11-16 16:14:29 +01:00
gh11550.phpt Merge branch 'PHP-8.3' 2024-02-29 08:49:53 +09:00
gh11587.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
last_insert_id.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
native_types.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
PDO_getAvaliableDrivers.phpt Port skipif.inc files to EXTENSIONS 2021-06-11 16:27:50 +02:00
pdo_mysql___construct_ini.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql___construct_options_libmysql.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql___construct_options.phpt ext/pdo: Fixed PDO::setAttribute() and PDO::getAttribute() (#12793) 2023-12-04 16:05:30 +00:00
pdo_mysql___construct_uri.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql___construct.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_attr_autocommit.phpt ext/pdo: Fixed PDO::setAttribute() and PDO::getAttribute() (#12793) 2023-12-04 16:05:30 +00:00
pdo_mysql_attr_case.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_attr_client_version.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_attr_connection_status.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_attr_driver_name.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_attr_errmode.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_attr_fetch_table_names.phpt ext/pdo: Fixed PDO::setAttribute() and PDO::getAttribute() (#12793) 2023-12-04 16:05:30 +00:00
pdo_mysql_attr_init_command.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_attr_max_buffer_size.phpt Tidy up pdo_mysql_attr_max_buffer_size.phpt 2024-02-18 13:09:19 +01:00
pdo_mysql_attr_multi_statements.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_attr_oracle_nulls.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_attr_prefetch.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_attr_server_info.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_attr_server_version.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_attr_statement_class.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_begintransaction.phpt ext/pdo: Fixed PDO::setAttribute() and PDO::getAttribute() (#12793) 2023-12-04 16:05:30 +00:00
pdo_mysql_bit.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_class_constants.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_closecursor_error.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_commit.phpt ext/pdo: Fixed PDO::setAttribute() and PDO::getAttribute() (#12793) 2023-12-04 16:05:30 +00:00
pdo_mysql_connect_attr.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_connect_charset.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_errorcode.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_errorinfo.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_exec_ddl.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_exec_load_data.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_exec_select.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_exec.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_fetch_both.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_get_attribute.phpt ext/pdo: Fixed PDO::setAttribute() and PDO::getAttribute() (#12793) 2023-12-04 16:05:30 +00:00
pdo_mysql_interface.phpt Implement PDO driver-specific subclasses 2024-01-11 23:22:41 +01:00
pdo_mysql_inTransaction.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_last_insert_id.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_local_infile_default_off.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_local_infile_directory_allowed.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_local_infile_directory_denied.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_local_infile_overrides_local_infile_directory.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_local_infile_set_on.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_multi_stmt_nextrowset.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_param_str_natl.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_parser.phpt Fix test when using libmysqlclient 2024-06-20 13:25:52 +02:00
pdo_mysql_pconnect.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_phpinfo.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_prepare_emulated_anonymous_placeholders.phpt Use "must not" instead of "cannot" wording 2024-08-21 21:12:17 +01:00
pdo_mysql_prepare_emulated_anonymous.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_prepare_emulated_myisam_index.phpt Use "must not" instead of "cannot" wording 2024-08-21 21:12:17 +01:00
pdo_mysql_prepare_emulated_myisam.phpt Use "must not" instead of "cannot" wording 2024-08-21 21:12:17 +01:00
pdo_mysql_prepare_emulated_placeholder_everywhere.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_prepare_emulated.phpt Use "must not" instead of "cannot" wording 2024-08-21 21:12:17 +01:00
pdo_mysql_prepare_match_against.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_prepare_native_anonymous_placeholder.phpt Use "must not" instead of "cannot" wording 2024-08-21 21:12:17 +01:00
pdo_mysql_prepare_native_clear_error.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_prepare_native_column.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_prepare_native_dup_named_placeholder.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_prepare_native_mixed_style.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_prepare_native_myisam_index.phpt Use "must not" instead of "cannot" wording 2024-08-21 21:12:17 +01:00
pdo_mysql_prepare_native_myisam.phpt Use "must not" instead of "cannot" wording 2024-08-21 21:12:17 +01:00
pdo_mysql_prepare_native_named_placeholder.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_prepare_native_placeholder_everywhere.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_prepare_native.phpt Use "must not" instead of "cannot" wording 2024-08-21 21:12:17 +01:00
pdo_mysql_quote_gbk_double_escape.phpt Add test with quoting multibyte GBK vs utf8mb4 in PDO 2024-02-23 23:52:24 +01:00
pdo_mysql_quote.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_rollback.phpt ext/pdo: Fixed PDO::setAttribute() and PDO::getAttribute() (#12793) 2023-12-04 16:05:30 +00:00
pdo_mysql_stmt_bindcolumn.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_bindparam_types.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_bindparam.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_bindvalue.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_blobfromstream.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_blobs.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_closecursor_empty.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_closecursor.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_columncount.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_errorcode.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_errorinfo.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_fetch_class.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_fetch_non_select.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_fetch_serialize_fetch_class.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_fetch_serialize_simple.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_fetch_serialize.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_fetchobject_ctor_args.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_fetchobject.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_getcolumnmeta.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_multiquery.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_nextrowset.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_rowcount.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_unbuffered_2050.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_stmt_variable_columncount.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_subclass.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_types_zerofill.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdo_mysql_types.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pdomysql_001.phpt Amend PDO driver-specific class names (#14069) 2024-05-30 20:15:42 +02:00
pdomysql_002.phpt Amend PDO driver-specific class names (#14069) 2024-05-30 20:15:42 +02:00
pdomysql_003.phpt Amend PDO driver-specific class names (#14069) 2024-05-30 20:15:42 +02:00
pecl_bug_5200.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pecl_bug_5780.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
pecl_bug_5802.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
README.md Change the default PDO error mode to exceptions 2020-05-04 22:51:47 +02:00
show_tables.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00
unsigned_bigint.phpt ext/pdo_mysql: Optimize tests (#12751) 2023-11-27 13:01:24 +00:00

The pdo_mysql extension tests

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

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

# Database host
PDO_MYSQL_TEST_HOST

# Database (schema) name
PDO_MYSQL_TEST_DB

# Database server socket
PDO_MYSQL_TEST_SOCKET

# Storage engine to use
PDO_MYSQL_TEST_ENGINE

# Database user
PDO_MYSQL_TEST_USER

# Database user password
PDO_MYSQL_TEST_PASS

# Database charset
PDO_MYSQL_TEST_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.

MySQL User Permissions

The MySQL user used to run the tests must have full permissions on the test database, plus the following additional permissions: