dbTalk Databases Forums  

MySQL ignores config file

comp.databases comp.databases


Discuss MySQL ignores config file in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ethan T
 
Posts: n/a

Default MySQL ignores config file - 06-25-2004 , 04:24 PM






I've copied my-medium.cnf to /etc/my.cnf and MySQL continues to ignore it. I
set port=3307 just to screw up the server, but nothing changes; the server
remains on 3306. I would like to move the location of my database but I
can't do that if MySQL won't read the config file (I'd rather not do this
with command-line options). Any ideas? I tried putting it in /usr/local as
well, but no change. There are no other my.cnf files on the system.

RedHat 7.3
MySQL 4.0.20 Standard binary distro

--
eth'nT



Reply With Quote
  #2  
Old   
Ethan T
 
Posts: n/a

Default Re: MySQL ignores config file - 06-25-2004 , 04:52 PM






Ethan T <gtg782aNO (AT) SPAMmail (DOT) gatech.edu> wrote:
Quote:
I've copied my-medium.cnf to /etc/my.cnf and MySQL continues to
ignore it. I set port=3307 just to screw up the server, but nothing
changes; the server remains on 3306. I would like to move the
location of my database but I can't do that if MySQL won't read the
config file (I'd rather not do this with command-line options). Any
ideas? I tried putting it in /usr/local as well, but no change. There
are no other my.cnf files on the system.
OK, scratch that. Somehow the programs were figuring out that MySQL was
running on 3307 and miraculously started using that instead.

--
eth'nT




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.