Page 1 of 1

CSF stats connection fails with 'password'

Posted: 21 Oct 2013, 20:43
by jimlongo
Due to repeated warnings from mysql.err and mysqltuner I had changed 'pass' to 'password' in /root/.my.cnf

Warning: Using unique option prefix pass instead of password is deprecated and will be removed in a future release. Please use the full name instead.

Changing to 'password' will stop those warnings.

If CSF configuration for MYSQL Stats collection is set as follows and .my.cnf has only 'password' then the connection will fail.

Code: Select all

ST_MYSQL =  1
ST_MYSQL_USER = root
ST_MYSQL_PASS = 
ST_MYSQL_HOST = localhost
So you need to have 'pass' set in .my.cnf for CSF to connect in this way, however if 'pass' is present you get the warnings.

Note: I have mentioned this to cPanel since WHM>SQL Services>Change MYSQL USer Password generates 'pass' not 'password'


Thanks,
jim

Re: CSF stats connection fails with 'password'

Posted: 02 Nov 2013, 09:33
by ForumAdmin
This should now be fixed in v6.37:
http://blog.configserver.com/?p=2085

Re: CSF stats connection fails with 'password'

Posted: 04 Nov 2013, 20:57
by jimlongo
Confirmed.
Thanks for a great product.