Hi, We're using mysql-server 5.6 on Ubuntu Server 14.04.01. The package version is 5.6.27-0ubuntu0.14.04.1. I saw that this bug was fixed in release 5.6.23 but this bug also appears with 5.6.27 : -- $ mysql_install_db --datadir=/home/mysql/data --basedir=/usr --keep-my-cnf FATAL ERROR: Could not find my-default.cnf
If you compiled from source, you need to run 'make install' to copy the software into the correct location ready for operation. If you are using a binary release, you must either be at the top level of the extracted archive, or pass the --basedir option pointing to that location. -- Indeed a my-defaut.cnf file exists in the package at /usr/share/doc/mysql-server-5.6/examples/my-default.cnf which is not parsed by the find_in_basedir function of mysql_install_db perl script : my $cfg_template= find_in_basedir($opt,"file","my-default.$cnfext", ".", "share","share/mysql","support-files"); This file is supposed to exist in /usr/share/mysql which is not in mysql-server-5.6 package release 5.6.27-0ubuntu0.14.04.1 Regards, Tom. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-5.6 in Ubuntu. https://bugs.launchpad.net/bugs/1523656 Title: Missing my-default.cnf Failing mysql_install_db To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.6/+bug/1523656/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs