Bug #61409 | Bogus link in Server Logs tab of WorkBench 5.2.34 CE Rev 7780 | ||
---|---|---|---|
Submitted: | 5 Jun 2011 1:04 | Modified: | 5 Jun 2011 16:46 |
Reporter: | Grayson Churchel | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench: Administration | Severity: | S3 (Non-critical) |
Version: | 5.2.34 | OS: | Any (dev.mysql.com/doc/refman/5.1/en/log-tables.html) |
Assigned to: | CPU Architecture: | Any | |
Tags: | Link to web page which doesn't exist |
[5 Jun 2011 1:04]
Grayson Churchel
[5 Jun 2011 8:08]
Peter Laursen
The link works fine for me and redirects to http://dev.mysql.com/doc/refman/5.1/en/log-destinations.html Peter (not a MySQL person)
[5 Jun 2011 16:18]
Valeriy Kravchuk
With 5.2.34 I see no problems to copy/paste this URL, and indeed redirection happens to proper manual page, http://dev.mysql.com/doc/refman/5.1/en/log-destinations.html, as Peter noted. So, I see no real bug here.
[5 Jun 2011 16:46]
Grayson Churchel
Quite right. It does re-direct. It was late, I was tired and I didn't see anything on the redirected page telling me how to direct my server logs to a table. In the morning light I was able to follow enough links from that page to determine the parameter and value, and where to put it. I edited my my.ini file and added the 'log-output=table' parameter to it. At first the Workbench screen threw an error about the query used: [Window Title] MySQL Workbench [Main Instruction] Error [Content] Unhandled exception: Error fetching log contents: Error executing 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-50, 50' at line 1' SELECT * FROM mysql.general_log ORDER BY event_time DESC LIMIT -50, 50. SQL Error: 1064 [OK] But after I checked the query syntax and clicked around in the Workbench some then returned to that screen I found it working correctly. Now I just need to find a way to start the service from a command line and from the NetBeans 7.0 IDE. Grayson
[5 Jun 2011 16:46]
Grayson Churchel
Quite right. It does re-direct. It was late, I was tired and I didn't see anything on the redirected page telling me how to direct my server logs to a table. In the morning light I was able to follow enough links from that page to determine the parameter and value, and where to put it. I edited my my.ini file and added the 'log-output=table' parameter to it. At first the Workbench screen threw an error about the query used: [Window Title] MySQL Workbench [Main Instruction] Error [Content] Unhandled exception: Error fetching log contents: Error executing 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-50, 50' at line 1' SELECT * FROM mysql.general_log ORDER BY event_time DESC LIMIT -50, 50. SQL Error: 1064 [OK] But after I checked the query syntax and clicked around in the Workbench some then returned to that screen I found it working correctly. Now I just need to find a way to start the service from a command line and from the NetBeans 7.0 IDE. Grayson