Tuesday, February 10, 2009

How to configure Mysql & which file we have to change

How to configure Mysql & which file we have to change

   Downlaod binary files from http://www.mysql.com

            Copy the folder to /usr/local/ path

            Copy the my-huge.cnf file from support folder to /etc/ with name my.cnf

            Edit my.cnf file and make changes what to want to.

Cd  /usr/local/mysql/share/mysql/ & edit mysql.server edit data bath

            Then copy mysql.server file from support to /etc/rc.d/init.d/ with name of mysqld

            Make link of mysql5 in following folders

            Rc1.d, rc2.d rc3.d rc4.d, rc5.d, rc6.d, rc7.d

            Go to folder which is mention above (rc1.d) and make the link

(ln –s ../init.d/mysqld5 mysqld5 )

c.         Start mysql with command ( /etc/rc.d/init.d/mysql5 start )

 
 

0 comments:

Post a Comment