zhengweisk / aspersa

Automatically exported from code.google.com/p/aspersa
0 stars 0 forks source link

mysql-summary - remote vs localhost #145

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
If I have mysqls running on local machine but run mysql-summary towards a 
remote host I get information from localhost.

What is the expected output? What do you see instead?
I want to see details about the remote mysql not about local mysql

What version of the product are you using? On what operating system?
linux 

Please provide any additional information below.
I am providing a bug fix / feature which checks the hostname of the remote host 
and local host and depending on the output supply details about mysql.

Original issue reported on code.google.com by photomal...@gmail.com on 19 Apr 2011 at 4:31

Attachments:

GoogleCodeExporter commented 9 years ago
In general, this tool is oriented towards running on localhost, and that is 
actually important to me.  For example, the my.cnf file and pid-file checking 
needs to be run locally.  Can you convince me that this is important?

(PS: I would prefer a patch, not a whole script.  I can't see what you've 
changed without diffing the files.  I'm lazy.)

Original comment by baron.schwartz on 19 Apr 2011 at 9:33

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
When mysql-summary is run against a remote host from a server running mysql 
it'll output some details from the remote host and some details from the local 
host which imho is incorrect information. 

The changes I made do not reduce or change any functionality to mysql-summary 
and personally I need such a change because I can't deploy the script on all my 
servers (too many) but would rather connect (and retrieve information) from a 
central location. 

Original comment by photomal...@gmail.com on 19 Apr 2011 at 10:23