Changed default master port to 3306

Changed default master port to 3306
This commit is contained in:
MassimilianoPinto
2015-07-13 12:44:03 +02:00
parent 5165c6b981
commit a16d4c46d6
3 changed files with 2 additions and 3 deletions

View File

@ -3194,7 +3194,7 @@ blr_master_restore_config(ROUTER_INSTANCE *router, MASTER_SERVER_CFG *prev_maste
static void
blr_master_set_empty_config(ROUTER_INSTANCE *router) {
server_update_address(router->service->dbref->server, "none");
server_update_port(router->service->dbref->server, (unsigned short)1234);
server_update_port(router->service->dbref->server, (unsigned short)3306);
router->binlog_position = 4;
strcpy(router->binlog_name, "");