Changes between Version 8 and Version 9 of InstallationGuidelines/MySQL
- Timestamp:
- 06/04/10 12:39:45 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
InstallationGuidelines/MySQL
v8 v9 51 51 In order to have a backup instance, configure replication from the Master node to a Backup node: 52 52 * http://www.debiantutorials.net/mysql-database-replication-masterslave/ 53 On Master: 53 ==== On Master: ==== 54 54 {{{ 55 55 pico /etc/mysql/my.cnf … … 68 68 Read log filename & position for configuring the slave (see below). 69 69 70 On Slave: 70 ==== On Slave: ==== 71 71 {{{ 72 72 pico /etc/mysql/my.cnf … … 85 85 CHANGE MASTER TO MASTER_HOST='ma.st.er.ip', MASTER_USER='username', MASTER_PASSWORD='mypassword', MASTER_LOG_FILE='log_file', MASTER_LOG_POS=log_position; 86 86 SLAVE START; 87 88 crontab -e 89 # m h dom mon dow command 90 55 * * * * /home/instance/scripts/automysqlbackup 91 55 * * * * /home/instance/scripts/sync-dir 87 92 }}} 88 93