Changeset 3804 for lliurex-sgdb


Ignore:
Timestamp:
Mar 2, 2017, 1:49:06 PM (3 years ago)
Author:
Juanma
Message:

Check if /var/run/mysqld exists before launch safe mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-sgdb/trunk/fuentes/install/usr/sbin/mysql_root_passwd

    r2919 r3804  
    252252                                echo "arrancando"
    253253                        fi
     254                        #Check if paths are OK
     255                        [ -d /var/run/mysqld ] || mkdir /var/run/mysqld && chmod 700 /var/run/mysqld && chown mysql:mysql /var/run/mysqld
    254256                        /usr/bin/mysqld_safe --skip-grant-tables >/dev/null 2>/dev/null &
    255257                        timeout=0
Note: See TracChangeset for help on using the changeset viewer.