List:General Discussion« Previous MessageNext Message »
From:Andrew Moore Date:June 1 2011 9:27am
Subject:Re: Not finding my.cnf file
View as plain text  
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 <adarsh.sharma@stripped>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=1
>
>

Thread
Not finding my.cnf fileAdarsh Sharma1 Jun
  • Re: Not finding my.cnf fileAndrew Moore1 Jun
  • Re: Not finding my.cnf fileJohn Daisley1 Jun
    • Re: Not finding my.cnf fileAdarsh Sharma1 Jun
      • Re: Not finding my.cnf filePeter Boros1 Jun
        • Re: Not finding my.cnf fileAdarsh Sharma1 Jun
          • Re: Not finding my.cnf fileAndrew Moore1 Jun