Re: MYSQLD mysql-server for 5.2.1

From: Dan Nelson (dnelson_at_allantgroup.com)
Date: 09/10/05

  • Next message: Vizion: "Build config of php"
    Date: Fri, 9 Sep 2005 23:55:15 -0500
    To: John Do <pcbsdguy@yahoo.ca>
    
    

    In the last episode (Sep 10), John Do said:
    > Thanks Dan again
    >
    > That does work.
    >
    > The only bothering me is the fact that I had no idea where to look :)
    >
    > Also in Linux normally comands like mysqld can be run automatically
    > instead of running a .sh file

    You can run mysqld manually in FreeBSD, too. It's just cleaner if you
    use the startup script.
     
    > And the real confusing thing is that there is no chkconfig sort of
    > utility that automatically adds an entry.

    It's different for each OS. chkconfig doesn't take the same arguments
    on RedHat and SUSE, so there isn't even consistency within Linux.
    FreeBSD ports always install their scripts into
    /usr/local/etc/rc.d, and you can enable them by adding the appropriate
    xxx_enable=yes line to /etc/rc.conf. You can look at the startup
    script to see what keyword it uses.
     
    > I wouldn't have known what to add to rc.conf if you
    > didn't mention it.
    >
    > Did I do do something wrong or is there a way to make
    > FreeBSD packages like this do more configuration such
    > as automatic server/start enabling etc...

    It's documented in the Handbook at

    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-starting-services.html

    -- 
    	Dan Nelson
    	dnelson@allantgroup.com
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Vizion: "Build config of php"

    Relevant Pages

    • Re: trouble with a script
      ... Your snippet of code doesn't look like sh on FreeBSD. ... Basically, I want my script to prompt me for two inputs, then append to ... The user input would be "domain.com", ... is how we set up a client's site on our servers. ...
      (comp.unix.shell)
    • Re: sysrc -- a sysctl(8)-like utility for managing /etc/rc.conf et. al.
      ... If you had to administer thousands of FreeBSD systems, ... serviceclearly doesn't do what this script does. ... I check for the presence of them with $PATH expansion. ...
      (freebsd-hackers)
    • Re: trouble with a script
      ... Your snippet of code doesn't look like sh on FreeBSD. ... Basically, I want my script to prompt me for two inputs, then append to ... The user input would be "domain.com", ... is how we set up a client's site on our servers. ...
      (comp.unix.shell)
    • Re: trouble with a script
      ... freeBSD servers by writing a script. ... Your snippet of code doesn't look like sh on FreeBSD. ... Basically, I want my script to prompt me for two inputs, then append to ...
      (comp.unix.shell)
    • Re: Strange ksh93 problem
      ... Thanks Dan but still no good. ... :>: Has anybody else run into the following strange problem. ... :>: script or operating system for years. ... You aren't running ksh93 - run "ksh93 script" to be sure. ...
      (comp.unix.shell)