LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-03-2008, 10:54 AM   #1
Thaidog
Member
 
Registered: Sep 2002
Location: Hilton Head, SC
Distribution: Gentoo
Posts: 637

Rep: Reputation: 32
Question Need to find the config file for mysql


I just upgraded to the latest mysql with the binary from the mysql site. It has changed a few things relative to the paths that I was used to in the default CentOS install.

Does anyone know where the default location is for the my.cnf file?
 
Old 10-03-2008, 12:02 PM   #2
racracracrac
Member
 
Registered: Sep 2008
Posts: 44

Rep: Reputation: 15
No idea, but the following will find it for you. Look for the one with the latest date. The updatedb only needs to be done when there are new files, and is likely already being called daily by cron.

sudo updatedb && locate my.cnf | xargs ls -al

Last edited by reddazz; 10-14-2008 at 05:57 PM. Reason: Removed spammed links
 
Old 10-03-2008, 02:46 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
Quote:
Originally Posted by Thaidog View Post
I just upgraded to the latest mysql with the binary from the mysql site. It has changed a few things relative to the paths that I was used to in the default CentOS install.

Does anyone know where the default location is for the my.cnf file?
Well, how did you configure it or was it an RPM? I'd take the other replies suggestion, just locate it or find it. Sometimes they won't have a default, maybe an example you can copy from or use, etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
change to config file MySQL my.cnf does not take nephish Linux - Server 2 09-27-2008 11:46 AM
Find the config file of a network interface helptonewbie Programming 4 11-08-2007 04:51 AM
wherei do i find .config file Ibrahimbazar Linux - Kernel 7 06-29-2006 01:25 PM
Breezy: Can't find config file for emacs kenneho Ubuntu 4 01-14-2006 08:14 AM
WINE - CONFIG File, can't find it to do first config Hero Doug Linux - Software 1 09-06-2005 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration