P
phlax
Guest
modifications to Mysql init script
add at the beginning:
. /etc/rc.d/init.d/functions
change:
pid_file
to:
pid_file=/var/run/mysqld/mysqld.pid
in the section:
'stop')
add, at the end:
exit 0
add another section:
'status')
status mysqld
exit $?
;;
create a directory:
/var/run/mysqld
with:
permissions 600,
uid.gid mysql.root
install the psa rpm. When the install finishes the pre-install script and is:
#####.....
restart mysql.
The fact that you need to restart mysql suggests that something is not right - perhaps the location of the pid file or something.
if i knew what i could create a compatible mysql rpm.
try this at your own risk.
add at the beginning:
. /etc/rc.d/init.d/functions
change:
pid_file
to:
pid_file=/var/run/mysqld/mysqld.pid
in the section:
'stop')
add, at the end:
exit 0
add another section:
'status')
status mysqld
exit $?
;;
create a directory:
/var/run/mysqld
with:
permissions 600,
uid.gid mysql.root
install the psa rpm. When the install finishes the pre-install script and is:
#####.....
restart mysql.
The fact that you need to restart mysql suggests that something is not right - perhaps the location of the pid file or something.
if i knew what i could create a compatible mysql rpm.
try this at your own risk.