How do I disable MySQL update

JasonUK

Member
Apr 11, 2005
9
0
151
Ok this is my problem. I needed MySQL 5. I also needed PHP5. So I had to manually using an rpm MySQL 5.0.21 just to get PHP5 working with the easyapache script. So MySQL is fine. However every night it tries to update and reverts back to 5.0.18. Now this doesn't work with PHP5 on my box. So I have to each night re-run the rpm, set a new root MySQL password and if I go out like tonight, I end up with hours of downtime. How do I disable the MySQL update or better yet force it to keep my 5.0.21?
 

JasonUK

Member
Apr 11, 2005
9
0
151
Ok I kinda fixed it. I just updated using EDGE. Not something I feel massively comfortable about but it is worth it to get MySQL going. Thanks.
 

Bulent Tekcan

Well-Known Member
May 11, 2004
185
2
168
cPanel Access Level
Root Administrator
I tried this command and check this under /etc it is there.But after 1 day this is not there.

Any idea why /etc/mysqlupdisable deleted there ?

Thanks
 

Nhojohl

Well-Known Member
Nov 28, 2006
100
0
166
Try creating it and doing:

Code:
chattr +i /etc/mysqlupdisable
This will make it un-editable and un-removable. If you want to change it back so it is no longer protected do:

Code:
chattr -i /etc/mysqlupdisable