Installation of grant tables failed!
am 18.02.2003 22:24:29 von Tim MFrom: Tim M.
Subject: Installation of grant tables failed! Couldn't find answer in=20
archives, please help!
>Description:
=09When running mysql_install_db, it failed to install the grant tables. =
It=20
says "Can't find messagefile=20
'mysql-4.0.4-beta/share/mysql/english/errmsg.sys'"; however, i checked, a=
nd=20
it is in fact located in=20
"/usr/local/mysql-4.0.4-beta/share/mysql/english/errmsg.sys" (all untarre=
d=20
mysql files are under user/local/mysql-4.0.4-beta/). I attempted to look=
at=20
the logs in /usr/local/mysql/var, as it says to do, but they do not exist=
=20
Also, i attempted starting the mysqld daemon with the --skip-grant option=
,=20
and it still failed, due to the same "can't find mesagefile..." error. I=
am=20
pretty much a newbie at all this, so any possible advice would be greatly=
=20
appreciated. I was logged in as root, and was going through the commands=
as=20
per the manual for installation via binary.
>How-To-Repeat:
(Initial installation instructions -- mysql-4.0.4-beta.tar.gz was untarre=
d to=20
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=3D/usr/local/mysql
shell> make
shell> make install
shell> scripts/mysql_install_db (I cannot get past this step)
=09[root@localhost mysql]# scripts/mysql_install_db
=09Preparing db table
=09Preparing host table
=09Preparing user table
=09Preparing func table
=09Preparing tables_priv table
=09Preparing columns_priv table
=09Installing all prepared tables
=09030217 22:59:33 Can't find messagefile=20
'mysql-4.0.4-beta/share/mysql/english/err
=09msg.sys'
=09030217 22:59:33 Aborting
=09Installation of grant tables failed!
=09Examine the logs in /usr/local/mysql/var for more information.
=09You can also try to start the mysqld daemon with:
=09/usr/local/mysql/libexec/mysqld --skip-grant &
=09You can use the command line tool
=09/usr/local/mysql/bin/mysql to connect to the mysql
=09database and look at the grant tables:
=09shell> /usr/local/mysql/bin/mysql -u root mysql
=09mysql> show tables
=09Try 'mysqld --help' if you have problems with paths. Using --log
=09gives you a log in /usr/local/mysql/var that may be helpful.
=09The latest information about MySQL is available on the web at
=09http://www.mysql.com
=09Please consult the MySQL manual section: 'Problems running mysql_insta=
ll_db',
=09and the manual section that describes problems on your OS.
=09Another information source is the MySQL email archive.
=09Please check all of the above before mailing us!
=09And if you do mail us, you MUST use the /usr/local/mysql/bin/mysqlbug =
script!
>Fix:
=09???????
>Submitter-Id:=09rockfx01
>Originator:=09root
>Organization:
Rockfx Productions
>MySQL support: email support
>Synopsis:=09Installation of grant tables failed!
>Severity:=09non-critical
>Priority:=09low
>Category:=09mysql
>Class: sw-bug
>Release:=09mysql-4.0.4-beta (Source distribution)
>Environment:
=09900mhz AMD Athlon
=09384MB RAM
=09Redhat 8.0 ver. 2.4.18-24.8.0
=09Directory: /usr/local/mysql-4.0.4-beta/
System: Linux localhost.localdomain 2.4.18-24.8.0 #1 Fri Jan 31 07:28:55 =
EST=20
2003 i686 athlon i386 GNU/Linux
Architecture: i686
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc=20
/usr/bin/cc
GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=3D/usr --mandir=3D/usr/share/man=20
--infodir=3D/usr/share/info --enable-shared --enable-threads=3Dposix=20
--disable-checking --host=3Di386-redhat-linux --with-system-zlib=20
--enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Compilation info: CC=3D'gcc' CFLAGS=3D'' CXX=3D'g++' CXXFLAGS=3D'' LD=
FLAGS=3D''
LIBC:=20
lrwxrwxrwx 1 root root 14 Feb 4 10:29 /lib/libc.so.6 ->=
=20
libc-2.2.93.so
-rwxr-xr-x 2 root root 1235468 Sep 5 18:12 /lib/libc-2.2.93.=
so
-rw-r--r-- 1 root root 2233342 Sep 5 17:59 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Sep 5 17:50 /usr/lib/libc.so
Configure command: ./configure --prefix=3D/usr/local/mysql
------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail bugs-thread13805@lists.mysql.com
To unsubscribe, e-mail