Comments on: MySQL Toolkit’s Show Grants tool 0.9.1 released http://www.xaprb.com/blog/2007/03/19/mysql-toolkits-show-grants-tool-091-released/ Stay curious! Thu, 02 May 2013 12:36:53 +0000 hourly 1 http://wordpress.org/?v=3.5.1 By: Xaprb http://www.xaprb.com/blog/2007/03/19/mysql-toolkits-show-grants-tool-091-released/#comment-5174 Xaprb Wed, 21 Mar 2007 21:38:26 +0000 http://www.xaprb.com/blog/?p=324#comment-5174 Quite true. This and all the other tools use my own code to read the .my.cnf file. I just recently learned this isn’t necessary: the MySQL DBD driver has this ability built-in! I am going to convert them to use this, and I feel sure this will solve the problem. (Plus, it’ll be lots less code for me to maintain).

]]>
By: Christian Kirsch http://www.xaprb.com/blog/2007/03/19/mysql-toolkits-show-grants-tool-091-released/#comment-5164 Christian Kirsch Wed, 21 Mar 2007 14:57:31 +0000 http://www.xaprb.com/blog/?p=324#comment-5164 The tool does not yet take into consideration a socket that differs from /tmp/mysql.sock for a local MySQL server. Even if it’s correctly specified in ~/.my.cnf, the it tries to connect to /tmp/mysql.sock.

Workaround: Connect with -host-Option giving the FQDN or IP address of localhost.

]]>