gplessis/dotdeb-mysql

Small issue with mysql_install_db on

Closed this issue · 2 comments

I started using mysql 5.6.19-1~dotdeb.1 on Debian wheezy today, and I had a small issue with mysql_install_db (the standard script that comes with mysql and is on /usr/bin). I use several mysql instances on the same box each running with a different user. To setup each instance I have a script that calls mysql_install_db to create the initial mysql directories and databases. Though with this package I get the error:

FATAL ERROR: Could not find my-default.cnf

The solution was to copy /usr/share/doc/mysql-server-5.6/examples/my-default.cnf to /usr/share/mysql. Then the script started working as usual (I say as usual because the same script works fine with standard packages on Debian, CentOS and Ubuntu).

I'm reporting this just in case you're interested in fixing it.

Btw, much thanks for the dotdeb packages!

@gplessis Could you implement it in your package, for example in preinst?