freebsd-ports/net/jffnms/files/jffnms_db.sh
Florent Thoumie 68d5aea6e8 - Fix missing 'use jffnms;' in ${FILESDIR}/jffnms_db.sh.
PR:		ports/78810
Submitted by:	Sergey Akifyev <asa@agava.com> (maintainer)
2005-03-14 10:39:25 +00:00

11 lines
256 B
Bash

#!/bin/sh
# Created by Sergey Akifyev <asa@gascom.ru>
#
{
echo "CREATE DATABASE jffnms;
GRANT ALL PRIVILEGES ON jffnms.* TO jffnms@localhost
IDENTIFIED BY 'jffnms';
FLUSH PRIVILEGES; use jffnms;"
cat %JFFNMSDIR%/docs/%JFFNMS%.mysql
} | mysql ${*}