| Server IP : 45.40.142.9 / Your IP : 216.73.216.250 Web Server : Apache System : Linux s45-40-142-9.secureserver.net 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : bayspec ( 506) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/mysql-test/suite/federated/ |
Upload File : |
CREATE DATABASE federated; CREATE DATABASE federated; # # Bug#47525: MySQL crashed (Federated) # # Switch to slave CREATE TABLE t1(a INT); INSERT INTO t1 VALUES (1); # Switch to master CREATE TABLE t1(a INT) ENGINE=FEDERATED CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/test/t1'; SELECT * FROM t1; a 1 # Start a asynchronous reload Warning: Using a password on the command line interface can be insecure. # Wait for tables to be closed # Ensure that the server didn't crash SELECT * FROM t1; a 1 # Drop tables on master and slave DROP TABLE t1; DROP TABLE t1; # Federated cleanup DROP TABLE IF EXISTS federated.t1; DROP DATABASE federated; DROP TABLE IF EXISTS federated.t1; DROP DATABASE federated;