Changed files:
mysql.init -> 1.26
mysql.sysconfig -> 1.6
mysqld.conf -> 1.5
chmod 640 $MYSQLD_ERRLOG
[ -z "$DEFAULT_SERVICE_RUN_NICE_LEVEL" ] && DEFAULT_SERVICE_RUN_NICE_LEVEL=0
- TMPDIR=/tmp nice -n ${SERVICE_RUN_NICE_LEVEL:-$DEFAULT_SERVICE_RUN_NICE_LEVEL} /usr/sbin/mysqld --defaults-file=$MYSQLD_CONFIG $ADDITIONAL_OPTIONS >>$MYSQLD_ERRLOG 2>&1 &
+ TMPDIR=/tmp nice -n ${SERVICE_RUN_NICE_LEVEL:-$DEFAULT_SERVICE_RUN_NICE_LEVEL} /usr/sbin/mysqld --defaults-file=$MYSQLD_CONFIG >>$MYSQLD_ERRLOG 2>&1 &
sleep 1
deltext
if ps -C mysqld >/dev/null 2>&1; then
# Define nice level for mysql
SERVICE_RUN_NICE_LEVEL="+0"
-
-# Other options for MySQL:
-ADDITIONAL_OPTIONS=""
# Don't allow connections over the network by default
skip-networking
+# Emergency option. Use only if you really need this.
+#skip-grant-tables
+
# Log connections and queries. It slows down MySQL so it's disabled by default
#log = /var/log/mysql/log