Skip to content

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

With this program, you can completely copy the database at runtime

Edit user,pass host and DB name

var masterDb = mysql.createPool({
	host: "127.0.0.1",
	user: "root",
	password: "",
	database: "db1",
	charset : 'utf8mb4'
});

var mirorreDb = mysql.createPool({
	multipleStatements: true,
	host: "127.0.0.1",
	user: "root",
	password: "",
	database: "db2",
	charset : 'utf8mb4'	
});

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages