>Description:

Change datadir in /etc/my.cnf or elsewhere. Start server (i.e.,
/usr/local/share/mysql/mysql.server start) and then try to stop it
(/usr/local/share/mysql/mysql.server stop)

>How-To-Repeat:

# joe /etc/my.cnf
Change some settings, especially datadir
# /usr/local/share/mysql/mysql.server start
wait a few seconds..
# /usr/local/share/mysql/mysql.server stop
No mysqld pid file found. Looked for /var/db/mysql/farmer.pid.

>Fix:

Workaround: edit mysql.server script. Fix: have it parse datadir

>Submitter-Id:  <submitter ID>
>Originator:    tlack
>Organization:
 
>MySQL support: none
>Synopsis:      mysql.server script does not honor settings /etc/my.cnf
>Severity:      non-critical
>Priority:      low
>Category:      mysql
>Class:         sw-bug
>Release:       mysql-3.23.49 (FreeBSD port: mysql-server-3.23.49)

>Environment:
        
System: FreeBSD farmer.terespondo.com 4.5-STABLE FreeBSD 4.5-STABLE #2: Fri Jun  7 
17:58:48 CDT 2002     [EMAIL PROTECTED]:/usr/src/sys/compile/FARMER  i386


Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gcc /usr/bin/cc
GCC: Using builtin specs.
gcc version 2.95.3 20010315 (release) [FreeBSD]
Compilation info: CC='cc'  CFLAGS='-O -pipe '  CXX='cc'  CXXFLAGS='-O -pipe  
-felide-constructors -fno-rtti -fno-exceptions'  LDFLAGS=''
LIBC: 
-r--r--r--  1 root  wheel  1208228 Feb 20 11:13 /usr/lib/libc.a
lrwxr-xr-x  1 root  wheel  9 Feb 20 11:13 /usr/lib/libc.so -> libc.so.4
-r--r--r--  1 root  wheel  573888 Feb 20 11:13 /usr/lib/libc.so.4
Configure command: ./configure  --localstatedir=/var/db/mysql --without-perl 
--without-debug --without-readline --without-bench --with-mit-threads=no 
--with-libwrap --with-low-memory '--with-comment=FreeBSD port: mysql-server-3.23.49' 
--enable-assembler --with-berkeley-db --with-innodb --prefix=/usr/local 
i386-portbld-freebsd4.5
Perl: This is perl, version 5.005_03 built for i386-freebsd

---------------------------------------------------------------------
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

Reply via email to