Date |Tue, 31 Jul 2001 18:39:35 -0400 (EDT)
>From |Paul Southworth <[EMAIL PROTECTED]>
Hello!
PS> On a system running two separate instances of mysqld (different
PS> versions) I need to have one of them (special version for one
PS> customer) ignore the system-wide /etc/my.cnf file. I would prefer to have
PS> the /etc/my.cnf file for this new instance located somewhere else.
PS> The version I'm building for this customer is 3.22.32. Server platform
PS> is RedHat 7.1, Linux 2.4.2.
PS> No matter how I set --prefix and --sysconfdir, it always wants to find
PS> my.cnf in /etc.
PS> When I examine config.status, it knows the correct $sysconfdir and
PS> $prefix. When I compile and build, it always reads the wrong one.
PS> Additionally, if I configure --with-tcp-port=3307 that is also ignored and
PS> the server listens on 3306 (no, it's not inheriting that info from
PS> safe_mysqld or my.cnf either), even though the configured Makefile has
PS> MYSQL_TCP_PORT=3307 in it.
PS> But the --with-unix-socket-path=/customer/tmp/mysql.sock argument is
PS> respected and works.
for example try to use
/usr/bin/safe_mysqld --defaults-file=/etc/my2.cnf
___________________________________________________________________
For technical support contracts, visit https://order.mysql.com/
This email is sponsored by SWSoft, http://www.asplinux.ru/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Grigory Bakunov <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB / SWSoft
/_/ /_/\_, /___/\___\_\___/
<___/ www.mysql.com
---------------------------------------------------------------------
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