[MDEV-3447] LP:936277 - Ubuntu 12.04 my.cnf contains unknown directive: lc-messages-dir Created: 2012-02-19  Updated: 2012-10-04  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Dolf Schimmel (Freeaqingme) (Inactive) Assignee: Unassigned
Resolution: Not a Bug Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug936277.xml    

 Description   

I'm on a fresh install of a daily build of Ubuntu 12.04. I initially tried to install mariadb from the Ubuntu 11.10 packages, but this failed due to unresolvable conflicts. The second option was to try to install Mariadb from generic linux packages. This went more or less smoothly, except that when I ran mysql_install_db it was unable to find the mysqld binary, the basedir option seems mandatory/musthave?

After fixing that however, I got the following output:
root@dolf-ThinkPad-T520:/usr/local/mysql# ./scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql
Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
120219 15:58:30 [Warning] option 'thread_stack': unsigned value 196608 adjusted to 245760
120219 15:58:30 [ERROR] /usr/local/mysql/bin/mysqld: unknown variable 'lc-messages-dir=/usr/share/mysql'
120219 15:58:30 [ERROR] Aborting
...

Problem: Unknown variable lc-messages-dir
Removing /etc/mysql resolved the issue.
Version used: mariadb-5.3.4-rc-Linux-x86_64/

Even though Ubuntu 12.04 is still alpha, it would of course be great if these issues could be fixed before it's released as GA.
If questions, I am also available on the IRCs.

TL



 Comments   
Comment by Dolf Schimmel (Freeaqingme) (Inactive) [ 2012-02-19 ]

Re: Ubuntu 12.04 my.cnf contains unknown directive: lc-messages-dir
I was under the impression that Mysql 5.5 was backported to Mariadb 5.3. Was just told this is not the case, so this issue is probably a nonissue.

Comment by Elena Stepanova [ 2012-02-23 ]

Re: Ubuntu 12.04 my.cnf contains unknown directive: lc-messages-dir
The full story is that MySQL 5.5 came along with Ubuntu 12.04 installation and was later uninstalled, but the configuration file was left behind. MariaDB 5.3 server started from the generic tarball picked up the config and, since lc-messages-dir is a 5.5-only option, failed to start. The solution would be either to remove MySQL 5.5 configuration file, or explicitely point MariaDB binary to another one, using --defaults-file.

Comment by Rasmus Johansson (Inactive) [ 2012-02-23 ]

Launchpad bug id: 936277

Generated at Thu Feb 08 06:48:42 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.