List:General Discussion« Previous MessageNext Message »
From:Lydia Rowe Date:December 30 2010 3:47pm
Subject:Re: my.cnf file
View as plain text  
find / -name my.cnf

--
Lydia

On Thu, 2010-12-30 at 11:09 -0200, Wagner Bianchi wrote:
> I am seeing you're using an operate system based on Red Hat distro. Well,
> after install MySQL via yum or via rpm packages, the location of MySQL
> samples configuration file usually is /usr/share/mysql.
> 
> After to check the existence of sample configuration files (my-huge.cnf,
> my-large.cnf, my-medium.cnf ...), use linux command line "cp" to copy it to
> /etc or /etc/mysql and restart mysqld.
> 
> Could you check it?
> 
> Best regards.
> --
> Wagner Bianchi
> 
> 
> 2010/12/30 <andrew.2.moore@stripped>
> 
> > Adam,
> >
> > you should look upon this as an opportunity to write a my.cnf that suits
> > your application and hardware. Understanding the options in this
> > configuration can be paramount to a well tuned server.
> >
> > a few resources to kick it all off...
> > http://dev.mysql.com/doc/refman/5.1/en/mysqld-option-tables.html
> >
> > http://dev.mysql.com/tech-resources/articles/mysql_intro.html#SECTION0001500000
> > http://ronaldbradford.com/blog/tag/my-cnf/
> >
> > Andy
> >
> > ________________________________________
> > From: ext Adarsh Sharma [adarsh.sharma@stripped]
> > Sent: 30 December 2010 06:37
> > To: mysql@stripped
> > Subject: my.cnf file
> >
> > Dear all,
> >
> > I am able to install Mysql-5.1.4 o a Linux Machine without any error.
> > All is working fine.
> >
> > But I am searching a file my.cnf which is most important and is used in
> > mysql but cannot able to find it.
> >
> > I install mysql by yum install mysql-server and yum install mysql-client
> > commands.
> >
> > I find only a folder in /var/lib/ i.e mysql folder that contains ibdata
> > and database folder plus .sock and .err file.
> >
> > After some research i find default path of my.cnf is /etc/my.cnf,
> > /etc/mysql/my.cnf, /var/lib/mysql/my.cnf. But couldn,t locate it as it
> > is needed for changing data dirs.
> >
> > Please help.
> >
> >
> > Thanks
> >
> > Adarsh Sharma
> >
> > --
> > MySQL General Mailing List
> > For list archives: http://lists.mysql.com/mysql
> > To unsubscribe:
> > http://lists.mysql.com/mysql?unsub=1
> >
> >
> > --
> > MySQL General Mailing List
> > For list archives: http://lists.mysql.com/mysql
> > To unsubscribe:
> > http://lists.mysql.com/mysql?unsub=1
> >
> >


Thread
my.cnf fileAdarsh Sharma30 Dec
  • RE: my.cnf fileandrew.2.moore30 Dec
    • Re: my.cnf fileWagner Bianchi30 Dec
      • Re: my.cnf fileLydia Rowe30 Dec
        • Re: my.cnf fileSharl.Jimh.Tsin31 Dec
          • Re: my.cnf fileWagner Bianchi31 Dec
            • Re: my.cnf fileWagner Bianchi31 Dec