mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			428 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			428 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
--source ./include/have_federated_db.inc
 | 
						|
 | 
						|
source ./include/master-slave.inc;
 | 
						|
 | 
						|
# remote table creation
 | 
						|
 | 
						|
connection slave;
 | 
						|
--replicate-ignore-db=federated
 | 
						|
stop slave;
 | 
						|
 | 
						|
--disable_warnings
 | 
						|
# at this point, we are connected to master
 | 
						|
DROP DATABASE IF EXISTS federated;
 | 
						|
--enable_warnings
 | 
						|
CREATE DATABASE federated;
 | 
						|
 | 
						|
connection master;
 | 
						|
--disable_warnings
 | 
						|
DROP DATABASE IF EXISTS federated;
 | 
						|
--enable_warnings
 | 
						|
CREATE DATABASE federated;
 |