On a system running two separate instances of mysqld (different
versions) I need to have one of them (special version for one
customer) ignore the system-wide /etc/my.cnf file. I would prefer to have
the /etc/my.cnf file for this new instance located somewhere else.
The version I'm building for this customer is 3.22.32. Server platform
is RedHat 7.1, Linux 2.4.2.
No matter how I set --prefix and --sysconfdir, it always wants to find
my.cnf in /etc.
When I examine config.status, it knows the correct $sysconfdir and
$prefix. When I compile and build, it always reads the wrong one.
Additionally, if I configure --with-tcp-port=3307 that is also ignored and
the server listens on 3306 (no, it's not inheriting that info from
safe_mysqld or my.cnf either), even though the configured Makefile has
MYSQL_TCP_PORT=3307 in it.
But the --with-unix-socket-path=/customer/tmp/mysql.sock argument is
respected and works.
If anyone knows fixes or workarounds for these problems, I would
appreciate receiving an e-mail from you. Unfortunately this customer's
application won't work with a newer release.
--Paul
---------------------------------------------------------------------
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