mtstat, port!=3306

Bug #128621 reported by Monty Taylor on 2007-07-26
2
Affects Status Importance Assigned to Milestone
mtstat
Medium
Unassigned

Bug Description

I'm trying to run mtstat for MySQL running on other than 3306 (e.g.
port=3307).

Modifying ~/.my.cnf doesn't work:
[mtstat]
port=3307
user=root
password=rootpass
host=127.0.0.1

If modifying ./mtstat_mysql/mysqlbase.py like this, it works.
    db=MySQLdb.Connect(port=3307,read_default_group='mtstat')

Do you know the reason and how to work with configuration file?

Monty Taylor (mordred) wrote :

Confirmed that this is, in fact, the case.

Changed in mtstat:
assignee: nobody → monty
importance: Undecided → Medium
status: New → Confirmed
Monty Taylor (mordred) wrote :

This is actually a bug in MySQLdb upstream.

http://sourceforge.net/tracker/index.php?func=detail&aid=1761612&group_id=22307&atid=374932

Possible workarounds seem a little ugly at the moment. I'll see what I can come up with...

Monty Taylor (mordred) on 2013-08-11
Changed in mtstat:
assignee: Monty Taylor (mordred) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.