Closed GoogleCodeExporter closed 9 years ago
I think I just answered my own question.
I just installed MySQL 5.0.51a and now get the following from "SHOW MASTER LOGS"
mysql> SHOW MASTER LOGS;
+------------------+-----------+
| Log_name | File_size |
+------------------+-----------+
| mysql-bin.000001 | 98 |
+------------------+-----------+
1 row in set (0.00 sec)
I guess I'm going to have to wait until our production environment is upgraded
before
playing with this tool.
Original comment by insult...@gmail.com
on 6 May 2008 at 6:20
No, we should make the script detect the older server's output and just return
0.
Just because the information isn't available doesn't mean you can't monitor
everything else :-)
If you can patch your version and send a patch that would be great. Inside the
first
loop just check for whether the array index exists, and pop out of the loop if
it
doesn't.
Original comment by baron.schwartz
on 6 May 2008 at 6:36
Here's my patch. Seems to be working great now.
Thanks for this great template! It's going to be very useful to us here.
Original comment by insult...@gmail.com
on 6 May 2008 at 7:35
Attachments:
Thanks for the patch. A modified version of it is in revision 35.
Original comment by baron.schwartz
on 7 May 2008 at 12:12
Original issue reported on code.google.com by
insult...@gmail.com
on 6 May 2008 at 5:46