talk2sachi 0 Newbie Poster

hey friends I have install mysql on my centos linux systam successfully.
Here are the steps

install rpms
1) MySQL-shared-5.1.42-0.glibc23.i386.rpm
2) MySQL-client-5.1.42-0.glibc23.i386.rpm
3) MySQL-server-5.1.42-0.glibc23.i386.rpm
rpm -ivh package name

to check if it is install or not

rpm -qa | grep -i mysql
after installing server if it showing error like

Starting MySQL..Manager of pid-file quit without updating f[Fail]

then do this things

sestatus |grep -i mode
Current mode: enforcing
Mode from config file: enforcing
it should be like this

getsebool -a | grep -i mysq
allow_user_mysql_connect --> off
mysqld_disable_trans --> off
if this is the case then do this things

togglesebool allow_user_mysql_connect
o/p allow_user_mysql_connect: active

togglesebool mysqld_disable_trans
o/p mysqld_disable_trans: active

to make it permnent

setsebool -P mysqld_disable_trans=1 ntpd_disable_trans=1

set the root password and follow other steps .