How to configure Mysql & which file we have to change

Question:- How to configure Mysql & which file we have to change

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

  1. Copy the folder to /usr/local/ path
  2. Copy the my-huge.cnf file from support folder to /etc/ with name my.cnf
  3. Edit my.cnf file and make changes what to want to.
  4. Then copy mysql.server file from support to /etc/rc.d/init.d/ with name of mysql5
  5. Make link of mysql5 in following folders
    1. Rc1.d, rc2.d rc3.d rc4.d, rc5.d, rc6.d, rc7.d
    2. Go to folder which is mention above (rc1.d) and make the link

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

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

Comments are closed.