#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    13
    Rep Power
    0
    hi everybody,

    pls tell me how to start mysql server at boot time....

    thanx
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    4
    Rep Power
    0
    Hi,
    I believe that differs between distributions, but on Red Hat or RH derived distro you can do this in the following way:

    as root:

    cd /etc/rc.d/rc3.d
    ln -s /etc/rc.d/init.d/mysql S98mysql

    That's it! :-) The above was done on Mandrake 7.0, which has the same structure as Red Hat. How does it work? /etc/rc.d/init.d contains scripts to start and stop services on your computer. By creating a symlink to mysql startup script in /etc/rc.d/rc3.d you're telling your system to run it during runlevel 3 startup, which is your regular login. You can also start and stop your services manually using files in /etc/rc.d/init.d directly, for example:

    /etc/rc.d/init.d/mysql start
    /etc/rc.d/init.d/mysql stop


    barrrt

  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    13
    Rep Power
    0
    thanx u very much......

Similar Threads

  1. Replies: 6
    Last Post: July 21st, 2004, 04:53 PM
  2. starting tomcat at boot time
    By skchun23 in forum Apache Development
    Replies: 0
    Last Post: September 15th, 2003, 02:48 PM
  3. Replies: 4
    Last Post: September 3rd, 2003, 05:34 PM
  4. HELP! mysql on win2k cpu time problem
    By fonginatorx in forum MySQL Help
    Replies: 0
    Last Post: August 15th, 2003, 03:56 PM
  5. Errcode:13 . How to solve it on MySQL + Windows 2000
    By hankycheng in forum MySQL Help
    Replies: 28
    Last Post: August 3rd, 2003, 11:05 AM

IMN logo majestic logo threadwatch logo seochat tools logo