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
Note that several of the options are static values so will require a MySQL
restart before they will work.
Best of luck
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
> 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