1
50_mysql-test__db_test.patch by Christian Hammers <ch@debian.org>
3
Patch 20_scripts__mysql_create_system_tables__no_test.patch removes the
4
rights for anybody to connect to the test database but the test
6
--- a/mysql-test/mysql-test-run.pl
7
+++ b/mysql-test/mysql-test-run.pl
9
# for a production system
10
mtr_appendfile_to_file("$sql_dir/mysql_system_tables_data.sql",
13
+ mtr_tofile($bootstrap_sql_file, "-- Debian removed the default privileges on the 'test' database\n");
14
+ mtr_tofile($bootstrap_sql_file, "INSERT INTO mysql.db VALUES ('%','test','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y','Y','Y','Y','N','N','Y','Y');\n");
16
# Add test data for timezone - this is just a subset, on a real
17
# system these tables will be populated either by mysql_tzinfo_to_sql