Starting MySQL

Mike Maltese mike at pcmedx.com
Wed Feb 4 19:27:23 PST 2004


> I added MySQL with portupgrade today, but don't find mysqld anywhere
> on the machine. How do I start this silly thing?

/usr/local/etc/rc.d/mysql-server.sh

mysqld resides in /usr/local/libexec, which could be why you didn't find it.
That doesn't really matter because a wrapper is used to start it anyway
(/usr/local/bin/safe_mysqld).

When in doubt, take a look at pkg-plist for what gets installed where. Also,
shell scripts for starting/stopping processes can usually be found in the
file/ directory of the port.

Mike



More information about the freebsd-questions mailing list