From: Andrew Moore Date: June 1 2011 9:27am Subject: Re: Not finding my.cnf file List-Archive: http://lists.mysql.com/mysql/225134 Message-Id: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf303dd2fae798de04a4a32129 --20cf303dd2fae798de04a4a32129 Content-Type: text/plain; charset=ISO-8859-1 You need to provide a my.cnf for your server. There are some sample files included with the server binaries that you can start with. These won't be tailored for your application/server so will need to be changed as per your requirements. Note that several of the options are static values so will require a MySQL restart before they will work. Best of luck Andrew On Wed, Jun 1, 2011 at 10:24 AM, Adarsh Sharma wrote: > Dear all, > > I install mysql in CentOS -5.4 through 2 commands : > > yum install mysql-server > yum install mysql-client > > And I can see directories created in /var/lib/mysql directory. > > But now i want to change it to my /hdd1-1 diretcory and alse set logging > directories. > So , I search my.cnf file as: > > [root@ws-test ~]# find / -name my.cnf > [root@ws-test ~]# > > Now how could I solve this issue & from where mysql picks its configuration > or it go for its default. > > > Thanks & best Regards, > Adarsh Sharma > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/mysql?unsub=eroomydna@stripped > > --20cf303dd2fae798de04a4a32129--