List:General Discussion« Previous MessageNext Message »
From:John Daisley Date:June 1 2011 9:28am
Subject:Re: Not finding my.cnf file
View as plain text  
I think the default location on Centos is /etc/my.cnf

Regards
John

On 1 June 2011 10:24, 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
>
>


-- 
John Daisley

Certified MySQL 5 Database Administrator
Certified MySQL 5 Developer
Cognos BI Developer

Telephone: +44 (0)7918 621621
Email: john.daisley@stripped

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