List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:September 6 2002 6:30pm
Subject:Re: Can't start mysqld from Source Distro - can't read messagefile errmsg.sys
View as plain text  
You have to create a mysql user and
chown -R  mysql   /usr/local/mysql

then run
./scripts/mysql_install_db  --user=mysql

Tony Butcher wrote:

>Hi,
>
>I have compiled 4.0.3-beta onto SuSE Linux 7.0. The configure, make and make
>install go fine, but then when I try to run the mysql_install_db script I
>get a failure.
>
>Here's the error:
>
>backup:/usr/local/mysql-4.0.3-beta # ./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
>020906 13:20:20  Can't read from messagefile
>'/usr/local/mysql/share/mysql/english/errmsg.sys'
>020906 13:20:20  Aborting
>
>Installation of grant tables failed!
>
>Examine the logs in /usr/local/mysql/var for more information.
>You can also try to start the mysqld daemon with:
>/usr/local/mysql/libexec/mysqld --skip-grant &
>You can use the command line tool
>/usr/local/mysql/bin/mysql to connect to the mysql
>database and look at the grant tables:
>
>shell> /usr/local/mysql/bin/mysql -u root mysql
>mysql> show tables
>
>Try 'mysqld --help' if you have problems with paths. Using --log
>gives you a log in /usr/local/mysql/var that may be helpful.
>
>The latest information about MySQL is available on the web at
>http://www.mysql.com
>Please consult the MySQL manual section: 'Problems running
>mysql_install_db',
>and the manual section that describes problems on your OS.
>Another information source is the MySQL email archive.
>Please check all of the above before mailing us!
>And if you do mail us, you MUST use the /usr/local/mysql/bin/mysqlbug
>script!
>
>
>It complains that it can't read the messagfile errmsg.sys, but I know it's
>there! Here it is:
>
>backup:/usr/local/mysql-4.0.3-beta # l
>/usr/local/mysql/share/mysql/english/errmsg.sys
>-rw-r--r--   1 root     mysql       12183 Sep  2 17:34
>/usr/local/mysql/share/mysql/english/errmsg.sys
>
>
>Is anyone else getting this? Any ideas how to get round it?
>
>Thanks!
>
>Tony Butcher
>
>
>


Thread
Can't start mysqld from Source Distro - can't read messagefileerrmsg.sysTony Butcher6 Sep
  • Re: Can't start mysqld from Source Distro - can't read messagefile errmsg.sysGerald Clark6 Sep
    • Re: Can't start mysqld from Source Distro - can't readmessagefile errmsg.sysTony Butcher7 Sep
    • Re: Can't start mysqld from Source Distro - can't readmessagefile errmsg.sysTony Butcher9 Sep