Error the server quit without updating pid file updating table of contents in word
mysql mysql system_u:object_r:default_t:s0 /data/mysql/ #See the difference ?
This difference causes the error message at My SQL startup. #Check, whether you have policycoreutils-python package installed.
#So, better solution is to tell to SELinux, that your new location for My SQL databases must have been #applied the proper security context (the one used for My SQL databases).
#Check the security type of default database folder and new location: shell ls -d Z /data/mysql drwxr-xr-x.
You can start My SQL by avoiding the grants and keeping your in place.
# mysql_install_db Installing My SQL system tables... OK Issue 2: Inno DB: Error: data file /var/lib/mysql/ibdata1 is of a different size So your did change and innodb_data_file_path is now a different size than before.
If you do run manage to run My SQL server using mysqld_safe, you may have to do this to shut it down before trying the mysql.server bash helper.
Resist the urge to kill -9 [PID] because you can corrupt your data.
So you need to put back or remove the ibdata files so they can be rebuilt; the later of course will remove the data.
These are just two simple examples but if you take your time and look into the log file data you will find the reason why My SQL might not start.
If you seeing the error "The server quit without updating PID file" then obviously something recently changed on your environment.