Output:
Stop MySQL service...
env: /etc/init.d/mysqld: Permission denied
MySQL ROOT password reset...
Start MySQL service...
env: /etc/init.d/mysqld: Permission denied
Connect failed: Access denied for user 'root'@'localhost' (using password: YES)
It depict some mysqld file which I did not alter with stuff like:
# Short-Description: start and stop MySQL server
# Description: MySQL database server
### END INIT INFO
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
exec="/usr/bin/mysqld_safe"
prog="mysqld"
# Set timeouts here so they can be overridden from /etc/sysconfig/mysqld
STARTTIMEOUT=120
STOPTIMEOUT=60
[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
lockfile=/var/lock/subsys/$prog
# extract value of a MySQL option from config files
# Usage: get_mysql_option SECTION VARNAME DEFAULT
# result is returned in $result
# We use my_print_defaults which prints all options from multiple files,
# with the more specific ones later; hence take the last match.
Can this file be altered?