View Issue Details

IDProjectCategoryView StatusLast Update
0000114utlGeneralpublic2014-03-19 14:44
Reporterabdel-mawla Assigned Tooli  
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version10.04
Product Version1.0.2 
Target Version1.0.3 
Summary0000114: slave_monitor script: Not clear error message when passing parameters wrong
DescriptionBy mistake, I passed the parameters to the slave_monitor.php tool without the "--" at the beginning. The error message was misleading and didn't guide me to what was wrong in the command:

mysql@ubuntu:~ [dev, 3306]> slave_monitor.php port=3307
PHP Notice: Undefined index: Last_Errno in /opt/myenv-1.0.2-RC1/utl/slave_monitor.php on line 174
PHP Notice: Undefined index: Last_Error in /opt/myenv-1.0.2-RC1/utl/slave_monitor.php on line 174
MySQL Slave Monitoring. Status: ERROR
MySQL Replication has a problem.
Error is /
Last_SQL_Error: / n.a. in MySQL 5.0
Last_IO_Error: / n.a. in MySQL 5.0

Mail success.
mysql@ubuntu:~ [dev, 3306]> slave_monitor.php --port=3307
mysql@ubuntu:~ [dev, 3306]>
TagsNo tags attached.



2014-03-19 14:44

developer   ~0000093

fixed in rev307

Issue History

Date Modified Username Field Change
2014-01-21 16:26 abdel-mawla New Issue
2014-01-21 16:26 abdel-mawla Status new => assigned
2014-01-21 16:26 abdel-mawla Assigned To => oli
2014-03-19 14:44 oli Note Added: 0000093
2014-03-19 14:44 oli Status assigned => resolved
2014-03-19 14:44 oli Resolution open => fixed