2 messages in com.mysql.lists.bugsRe: Installation of grant tables failed!
FromSent OnAttachments
Tim M18 Feb 2003 13:24 
Sinisa Milivojevic21 Feb 2003 10:38 
Subject:Re: Installation of grant tables failed!
From:Sinisa Milivojevic (sin@mysql.com)
Date:02/21/2003 10:38:45 AM
List:com.mysql.lists.bugs

Tim M writes:

From: Tim M. Subject: Installation of grant tables failed! Couldn't find answer in archives, please help!

Description:

When running mysql_install_db, it failed to install the grant tables. It says "Can't find messagefile 'mysql-4.0.4-beta/share/mysql/english/errmsg.sys'"; however, i checked, and it is in fact located in "/usr/local/mysql-4.0.4-beta/share/mysql/english/errmsg.sys" (all untarred mysql files are under user/local/mysql-4.0.4-beta/). I attempted to look at the logs in /usr/local/mysql/var, as it says to do, but they do not exist. Also, i attempted starting the mysqld daemon with the --skip-grant option, and it still failed, due to the same "can't find mesagefile..." error. I am pretty much a newbie at all this, so any possible advice would be greatly appreciated. I was logged in as root, and was going through the commands as per the manual for installation via binary.

How-To-Repeat:

(Initial installation instructions -- mysql-4.0.4-beta.tar.gz was untarred to the /usr/local directory)

shell> groupadd mysql shell> useradd -g mysql mysql shell> gunzip < mysql-VERSION.tar.gz | tar -xvf - shell> cd mysql-VERSION shell> ./configure --prefix=/usr/local/mysql shell> make shell> make install shell> scripts/mysql_install_db (I cannot get past this step)

[root@localhost mysql]# scripts/mysql_install_db Preparing db table Preparing host table Preparing user table Preparing func table Preparing tables_priv table Preparing columns_priv table Installing all prepared tables 030217 22:59:33 Can't find messagefile 'mysql-4.0.4-beta/share/mysql/english/err msg.sys' 030217 22:59:33 Aborting

Installation of grant tables failed!

Hi!

Try making a symlink from mysql-4.0.4... directory to /usr/local/mysql.

Also run script like this:

./xcripts/mysql_install_db

If that does not help, use our binaries.

Join MySQL Users Conference and Expo: http://www.mysql.com/events/uc2003/