tinygg / mysql-mha-setup

mysql-master-ha scripts
0 stars 0 forks source link

relay_log_file inserts datadir path even when relay_log on MySQL is using an absolute path #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. define relay_log with an absolute path in my.cnf (eg: 
relay_log=/var/lib/mysql/logs/relay-log)
2. define datadir in my.cnf (eg: datadir=/var/lib/mysql/data)

What is the expected output? What do you see instead?
The relay_log_file should be "/var/lib/mysql/logs/relay-log", instead of 
"/var/lib/mysql/data//var/lib/mysql/logs/relay-log.info"

What version of the product are you using? On what operating system?
0.52 on CentOS 5.7 (using RPM dist)

Original issue reported on code.google.com by rsan...@gmail.com on 23 Nov 2011 at 5:18

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the bug report. This is known issue and fixes are in GitHub branch.
https://github.com/yoshinorim/mha4mysql-manager/issues/13

Original comment by Yoshinor...@gmail.com on 23 Nov 2011 at 5:22