I think I have solved this - though what I had to do was weird. In mysql-VERSION/support-files there's a program called comp_err.
You need to cd to the share/language directory and run # comp_err errmsg.txt errmsg.sys Then run scripts/mysql_install_db. Why should I have to do this? Sounds like a bug to me, and I've now done this on both SuSE 7.0 and SuSE8.0. Tony Butcher > From: Gerald Clark <[EMAIL PROTECTED]> > Organization: Supplier Systems Corporation > Date: Fri, 06 Sep 2002 13:30:29 -0500 > To: Tony Butcher <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: Can't start mysqld from Source Distro - can't read > messagefile errmsg.sys > > 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 >> >> >> > > > > --------------------------------------------------------------------- > 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 <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > --------------------------------------------------------------------- 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 <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php