-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi On 23/06/2015 17:33, Peter Laursen wrote:
Just for reference: I posted this http://bugs.mysql.com/bug.php?id=75343 to bugs.mysql 1½ years ago.
Thanks for the pointer, it helped me understand the situation better. The solution simply was to change lc_messages_dir to /usr/share in my.cnf. Sorry for the noise. Is there a build option to install errmsg.sys files in another directory ? Cheers, Sylvain
-- Peter -- Webyog
On Tue, Jun 23, 2015 at 5:12 PM, Sylvain Raybaud <sylvain.raybaud@green-communications.fr <mailto:sylvain.raybaud@green-communications.fr>> wrote:
Hi!
On 10/06/2015 15:29, Nirbhay Choubey wrote:
On Wed, Jun 10, 2015 at 5:40 AM, Sylvain Raybaud <sylvain.raybaud@green-communications.fr <mailto:sylvain.raybaud@green-communications.fr> <mailto:sylvain.raybaud@green-communications.fr <mailto:sylvain.raybaud@green-communications.fr>>> wrote:
I built mariadb galera cluster 10.0.17 from source. Starting it with mysql_safe fails with: Can't find messagefile '/usr/share/mysql/errmsg.sys'
Did you try setting --basedir=</path/to/mariadb/> ?
Yes, it didn't work. However, since I'm compiling in buildroot, the source tree is not present on the image. So I supposed /path/to/mariadb is the installation prefix (/usr) but I'm not sure.
However I noticed that a number of /usr/share/<language>/errmsg.sys exist, for different languages (errmsg.sys does not exist anywhere else in the image). I just symlinked /usr/share/english/errmsg.sys to /usr/share/mysql/errmsg.sys and was then able to start mariadb. Is this the way to go?
Regards,
_______________________________________________ Mailing list: https://launchpad.net/~maria-developers Post to : maria-developers@lists.launchpad.net <mailto:maria-developers@lists.launchpad.net> Unsubscribe : https://launchpad.net/~maria-developers More help : https://help.launchpad.net/ListHelp
- -- Sylvain Raybaud www.green-communications.fr -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJVineAAAoJEEkkwl4JtJ9yciMQALAvnjsooJiv4uZ6wSkLoKMw 5VMEY3P+hb3tmXX3g99eZmoYz9Eq3Sdf0W54Qib6F9+7De8h+Y2noeRfgoRC0bqI xCxUD5fTlUAvE/EDjAG5S7i5A3lmaso69ZSKtnEHTLhiRaJLKrOtJJqmZVrvvJnV XkJVcwjjtfC/+hO3eEsB0Vk1rO8pxqd7nhgeqMmhna7oPSNWKOlTnYmi5I16rEbe TX0m5z00TX/PWAOPBhRFSjyQXW6FKJDgG2kZt+xsgYQl8rzFgpf6ZJakz9KQ2arm exdrzJ7IGyl5j60Xmtxxg8osOaIhIvRlEFIS458a7HvmbXPf4rhCcONwIoLpBtH8 HJ6lVrEghqr3HdzBKiUKaARloElcKtGKYMuB92hux5xvUvdJ+7mW0flrvy9ifv3t ju7ZyzJf0XORs0crovqBMFpb2y/RcxEKD0rbS/2+fAo9ytAXLNV5iV7kprGHKE5w KoIgjk3gI/P3qAFdrsjUlNyCn5gALiVCk/UUxTCgHbYcgoA0vWVg1tMKIUqFx3vM /5PDFuke2YUdhxJ+bE0wapt4/7riYzIcSoq3drDvfQxpjcM/b4sUUQS2LPdUBsTZ UVrsDltqUhx5QCEj/8NicLQ/rjt5S/ybbLzGs75gyCinVvorKxoXUBaFYzdzNxWt eGdWhhyXn6fPP1IFNbjh =o+12 -----END PGP SIGNATURE-----