You can clone with
HTTPS or Subversion.
For DirectAdmin you can use the following (on existance of this file: /usr/local/directadmin/conf/mysql.conf):
MYSQLUSER="`. /usr/local/directadmin/conf/mysql.conf; echo $user;`"
MYSQLPASS="`. /usr/local/directadmin/conf/mysql.conf; echo $passwd;`"
mysqladmin ping -u $MYSQLUSER -p$MYSQLPASS
Thanks for that. Could you provide a sanitized copy of that mysql.conf and/or a patch for MySQLTuner?
The content of that file contains:
actually it's all that that file contains.
Thanks, meghuizen. Did you want to submit a patch?
It takes for me more time to figure out how that works on github, than for you to add that to the code. ;-)
You're more than welcome to paste the patch here and we can test it out. ;)
Then I will post the patch.
Add DirectAdmin support. Also tested on DirectAdmin v 1.40.3 on Debia…
…n 6 - 64 bits #17
See pull request. ;-) Also tested it on Directadmin v 1.40.3
Already merged this in the other PR.