File: startmysql.in

package info (click to toggle)
bacula 5.0.2-2.2%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 22,688 kB
  • ctags: 15,071
  • sloc: ansic: 109,509; cpp: 24,105; sh: 21,958; makefile: 4,010; perl: 3,083; sql: 1,366; lisp: 479; python: 166; xml: 64; sed: 32; awk: 8
file content (12 lines) | stat: -rwxr-xr-x 211 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
cd @SQL_BINDIR@
if [ -x ./safe_mysqld ]; then
  ./safe_mysqld $* &
  exit $?
fi
if [ -x ./mysqld_safe ]; then
  ./mysqld_safe $* &
  exit $?
fi
echo "Neither safe_mysqld nor mysqld_safe found!"
exit 1