![]() |
|
|||||||
| FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|||
|
Hi everyone recently I have installed mysql using the following:
sudo pkg_add -r mysql51-client sudo pkg_add -r mysql51-server sudo pkg_add -r mysql51-scripts under /usr/local/etc/rc.d, I can't find mysql 's script. How do I start, restart or stop mysql without restarting? |
|
|||
|
Code:
[disappearedng@ /usr/local/etc/rc.d]$ cd /usr/local/etc/rc.d/ [disappearedng@ /usr/local/etc/rc.d]$ ls -a . dbus snmpd .. ffserver snmptrapd 001slpd.sh gdm svnserve apache hald system-tools-backends avahi-daemon.sh mdnsd xfs avahi-dnsconfd.sh openssh cupsd pure-ftpd |
|
|||
|
Oh.
I realize that I can't access the script using /usr/local/etc/rc.d/mysql-server but sh /usr/local/etc/rc.d/mysql-server. I came from ubuntu and to run this script, all I need is /etc/init.d/mysql start but what have I lacked in my system which forces me to use sh for scripts? Thx |
|
|||
|
One thing that catches a lot of people coming from Linux is that you have to use su - instead of su -m
|
![]() |
| Tags |
| mysql |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Which is the best solution from start bsd.mp? | aleunix | OpenBSD General | 18 | 4th May 2009 06:33 PM |
| MySQL: How to start the mysqld | rtwingfield | FreeBSD General | 2 | 25th December 2008 06:59 PM |
| Can start rtorrent like apache and mysql when system boot | mfaridi | FreeBSD Ports and Packages | 0 | 26th November 2008 08:27 AM |
| MYSQL can't start "UNABLE TO LOCK | disappearedng | FreeBSD General | 0 | 14th October 2008 02:01 AM |
| KDE wont start up | dctr | FreeBSD General | 9 | 11th June 2008 05:59 AM |