that this db1 three machine this piece to think, for example, in this environment,DB1 To configure this db1,DB2 to be configured as this DB2 , and db3 to be configured as this db3. # sudo vim/etc/mysql-mmm/mmm_agent.conf650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5D/18/wKiom1UhbYnTVFLVAAEk57zBphU278.jpg "/>Compile the monitor configuration file on the monitor node and add the contents of the Ping_ips# sudo vim/etc/mysql-mmm/mmm_mon.conf650) this.width=650; "src=" http://s3.51cto.
supported features of the demo;Trial interface4 Creating an AppGo to App ManagementClick to register the app, for the later use, only those two items are needed;5. External trial API, save the following code to xxx.htm;Use your browser to open xxx.htm, fill in the app's client ID andClient Secret, click Submit, return, put Accesstoken fill, text input to translate, click Get can see the results in Console.log, there is need to change console.log to alert; According to this process, you can writ
.% ' identified by ' monitor ';GRANT SUPER, REPLICATION CLIENT, PROCESS on * * to ' mmm_agent ' @ ' 10.0.0.% ' identified by ' agent ';GRANT REPLICATION SLAVE on * * to ' REPLICATION ' @ ' 10.0.0.% ' identified by ' REPLICATION ';Next, DB1 and DB2 respectively execute the following command to modify the copy account and password. and start the slave process.change Master to master_host= ' 10.0.0.4 ', master_port=3306, master_user= ' replication ', master_password= ' Replication '; start slave;Ch
[Blog recommendations] Microsoft Azure deployment MYSQL-MMM process details (1)
This blog post is from the Bkjia blog star, Mr. Li Xiaozhu. If you have any questions, please go to the blog homepage for an interactive discussion!Blog blog address: http://lixun.blog.51cto.com/4198640/1629177
MMM is the Master-Master Replication Manager for MySQL (mysql Master Replication Manager) A Scala
Tags: Log fun func official Encrypt official documents database EXP Host function getconnection () {
var sequelize=New sequelize ("DBName", "sa", "000000",
{
Host:"************",
dialect:"MSSQL",
1433,
dialectoptions: {
true
}
);
return sequelize;
}
Exports.getcon=getconnection; The official document does not give a clear hint, record! Especially the Encrypt settings.Sequelize Connect
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.