Hi,
it's a bit late reply, to my original mail sent to bugs list. Now the
problem reappeared as the box got rebooted. I was receiving in
$hostname.err:
020812 11:34:20 mysqld started
020812 11:34:20 Can't find messagefile
'mysql-4.0.2-alpha-pc-linux-gnu-i686/share/mysql/english/errmsg.sys'
020812 11:34:20 Aborting
020812 11:34:20 mysqld ended
$ diff -u -w mysql-4.0.2-alpha-pc-linux-gnu-i686/support-files/mysql.server
/etc/init.d/mysql
--- mysql-4.0.2-alpha-pc-linux-gnu-i686/support-files/mysql.server Mon Jul 1
14:52:15 2002
+++ /etc/init.d/mysql Mon Aug 12 11:42:30 2002
@@ -29,11 +29,11 @@
# If you want to affect other MySQL variables, you should make your changes
# in the /etc/my.cnf or other configuration files.
-PATH=/sbin:/usr/sbin:/bin:/usr/bin
+PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/mysql/bin
export PATH
# Set some defaults
-datadir=/usr/local/mysql/data
+datadir=/data1/mysql
basedir=
pid_file=
if test -z "$basedir"
@@ -45,7 +45,7 @@
fi
if test -z "$pid_file"
then
- pid_file=$datadir/`@HOSTNAME@`.pid
+ pid_file=$datadir/jerboas.pid
else
case "$pid_file" in
/* ) ;;
@@ -116,7 +116,7 @@
then
# Give extra arguments to mysqld with the my.cnf file. This script may
# be overwritten at next upgrade.
- $bindir/mysqld_safe --datadir=$datadir --pid-file=$pid_file &
+ $bindir/mysqld_safe --skip-innodb --datadir=$datadir --pid-file=$pid_file &
# Make lock for RedHat / SuSE
if test -w /var/lock/subsys
then
On Wed, 17 Jul 2002, Alexander Keremidarski wrote:
> > Martin MOKREJŠ wrote:
> > How-To-Repeat:
> >
> > /usr/local/mysql/log# cp /dev/null jerboas.log
> > /usr/local/mysql/log# cp /dev/null jerboas.err
> > /usr/local/mysql/log# /etc/rc3.d/S98mysql start
> > /usr/local/mysql/log# Starting mysqld daemon with databases from /data1/mysql
> > 020716 20:21:26 mysqld ended
>
> Use mysql.server script from 4.0.2 tree. It knows where to find mysqld_safe
Thanks, I copied that file over. See above the diff.
> cp mysql.server /etc/rc.d/initd/mysql
> chmod +x /etc/rc.d/initd/mysql
> chkconfig --add mysql
>
> or use your favorite method to link it in appropriate runlevel dirs.
I've suspected that mysqld operates in unexpected current directory, and this
really helped:
cd /usr/local/mysql (which is a symlink to
/usr/local/mysql-4.0.2-alpha-pc-linux-gnu-i686)
ln -s . mysql-4.0.2-alpha-pc-linux-gnu-i686
Now when mysqld is in /usr/local/mysql and want's to see
mysql-4.0.2-alpha-pc-linux-gnu-i686/share*,
it can get it. Please note that I dod not re-set "$bindir" inside /etc/my.cnf.
However, $basedir is reported by 'mysqladmin variables' to be set to
'mysql-4.0.2-alpha-pc-linux-gnu-i686/'. Maybe that's my problem?
TIA
Please Cc: me in replies, if possible.
--
Martin Mokrejs <[EMAIL PROTECTED]>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585
---------------------------------------------------------------------
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