[Akonadi] [Bug 264383] akonadiserver uses ~/.my.cnf dangerously

Christophe Giboudeaux cgiboudeaux at gmx.com
Tue Jan 8 13:50:51 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=264383

--- Comment #9 from Christophe Giboudeaux <cgiboudeaux at gmx.com> ---
To clarify things. Please correct if anything is incorrect

AFAIU the mysql doc, the my.cnf files are ignored if --defaults-file is used.
That's the case for the mysqld process launched by the akonadi server:

ps x |grep mysqld returns
/usr/sbin/mysqld --defaults-file=$HOME/.local/share/akonadi/mysql.conf
--datadir=$HOME/.local/share/akonadi/db_data/
--socket=$HOME/.local/share/akonadi/socket-yuuko.site/mysql.socket

Now, when starting up, Akonadi also runs mysqlcheck --check-upgrade
--all-databases --auto-repair
--socket=$HOME/.local/share/akonadi/socket-$HOST/mysql.socket

would adding --defaults-file help you?
ie mysqlcheck --defaults-file=$HOME/.local/share/akonadi/mysql.conf
--check-upgrade --all-databases --auto-repair
--socket=$HOME/.local/share/akonadi/socket-$HOST/mysql.socket

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list