diff options
author | martti <martti@pkgsrc.org> | 2003-12-20 16:00:42 +0000 |
---|---|---|
committer | martti <martti@pkgsrc.org> | 2003-12-20 16:00:42 +0000 |
commit | 3a8f34af4ef339ca7cafee4f570ab6aa8bca5070 (patch) | |
tree | 2ff775d5ebb576d665dad33ec7e3806dae7e831d /databases/mysql4-server/files | |
parent | 6ff8b7d24c0b9ef7da8a65a4fe08a6bbfa6b6937 (diff) | |
download | pkgsrc-3a8f34af4ef339ca7cafee4f570ab6aa8bca5070.tar.gz |
MySQL is a SQL (Structured Query Language) database server. SQL is the
most popular database language in the world. MySQL is a client-server
implementation that consists of a server daemon `mysqld' and many
different client programs/libraries.
The main goals of MySQL are speed and robustness.
The base upon which MySQL is built is a set of routines that have been
used in a highly demanding production environment for many years. While
MySQL is still in development it already offers a rich and highly useful
function set.
The official way to pronounce 'MySQL' is 'My Ess Que Ell' (Not MY-SEQUEL).
This package contains the MySQL server programs and libraries.
Diffstat (limited to 'databases/mysql4-server/files')
-rw-r--r-- | databases/mysql4-server/files/mysqld.sh | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/databases/mysql4-server/files/mysqld.sh b/databases/mysql4-server/files/mysqld.sh new file mode 100644 index 00000000000..7ae04dd072b --- /dev/null +++ b/databases/mysql4-server/files/mysqld.sh @@ -0,0 +1,31 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: mysqld.sh,v 1.1.1.1 2003/12/20 16:00:43 martti Exp $ +# + +# PROVIDE: mysqld +# REQUIRE: DAEMON LOGIN mountall +# KEYWORD: shutdown + +# Note: this needs NetBSD 1.6 or newer +# + +. /etc/rc.subr + +name="mysqld" +rcvar=$name +command="@PREFIX@/bin/mysqld_safe" +procname="@PREFIX@/libexec/${name}" +pidfile="@MYSQL_DATADIR@/`hostname`.pid" +start_cmd="mysqld_start" +required_files="@MYSQL_DATADIR@/mysql/host.frm" + +mysqld_start() +{ + echo "Starting mysqld." + ulimit -n 4096 + ${command} ${mysqld_flags} & +} + +load_rc_config $name +run_rc_command "$1" |