I think the default location on Centos is /etc/my.cnf Regards John
On 1 June 2011 10:24, Adarsh Sharma <adarsh.sha...@orkash.com> 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=john.dais...@butterflysystems.co.uk > > -- John Daisley Certified MySQL 5 Database Administrator Certified MySQL 5 Developer Cognos BI Developer Telephone: +44 (0)7918 621621 Email: john.dais...@butterflysystems.co.uk