There's no need to wait for MySQL 4.1.19 to be added to the CURRENT, RELEASE, or STABLE builds, or the need to install it from RPM. I found a way to do it through cpanel while running a non-edge build.
First thing we need to do is update cPpkgversion to tell the server to get 4.1.19.
For Fedora 4 users, go here: /root/.cpobjcache/fedora_4_RELEASE_MySQL I'm guessing the rest of the versions and OSs will be similar.
Now, lets edit cPpkgversion: for me: nano ./cPpkgversion You may have to use vi or pico depending on your OS.
Now, we have the file where cPanel looks for it's MySQL version, right now, it looks like:
Now, simply replace the every instance of 4.1.18 with 4.1.19. Save and exit.
Enter WHM, click Update Server Software, it'll update you to 4.1.19!! :D
If you'd like me to do this for you, click the link in my sig, go to Server Security, and order the update MySQL package (near the bottom).
Enjoy 4.1.19! :D
First thing we need to do is update cPpkgversion to tell the server to get 4.1.19.
For Fedora 4 users, go here: /root/.cpobjcache/fedora_4_RELEASE_MySQL I'm guessing the rest of the versions and OSs will be similar.
Now, lets edit cPpkgversion: for me: nano ./cPpkgversion You may have to use vi or pico depending on your OS.
Now, we have the file where cPanel looks for it's MySQL version, right now, it looks like:
Code:
package cPPkgs::MySQL;
$PKGDATA = {
'x86_64' => {
'4.0' => {
'flags' => '',
'files' => [
'MySQL-shared-4.0.27-0.%arch%.rpm',
'MySQL-devel-4.0.27-0.%arch%.rpm',
'MySQL-embedded-4.0.27-0.%arch%.rpm',
'MySQL-client-4.0.27-0.%arch%.rpm',
'MySQL-bench-4.0.27-0.%arch%.rpm',
'MySQL-server-4.0.27-0.%arch%.rpm',
'MySQL-shared-4.0.27-0.%arch%.rpm'
],
'version' => '4.0.27',
'release' => '0',
'dir' => '4.0.27-0'
},
'5.0' => {
'flags' => '',
'files' => [
'MySQL-shared-5.0.18-0.glibc23.%arch%.rpm',
'MySQL-shared-compat-5.0.18-0.glibc23.%arch%.rpm',
'MySQL-devel-5.0.18-0.glibc23.%arch%.rpm',
'MySQL-embedded-5.0.18-0.glibc23.%arch%.rpm',
'MySQL-client-5.0.18-0.glibc23.%arch%.rpm',
'MySQL-bench-5.0.18-0.glibc23.%arch%.rpm',
'MySQL-server-5.0.18-0.glibc23.%arch%.rpm',
'MySQL-shared-5.0.18-0.glibc23.%arch%.rpm'
],
'version' => '5.0.18',
'release' => '0.glibc23',
'dir' => '5.0.18-0'
},
'4.1' => {
'flags' => '',
'files' => [
'MySQL-shared-4.1.18-0.glibc23.%arch%.rpm',
'MySQL-devel-4.1.18-0.glibc23.%arch%.rpm',
'MySQL-embedded-4.1.18-0.glibc23.%arch%.rpm',
'MySQL-client-4.1.18-0.glibc23.%arch%.rpm',
'MySQL-bench-4.1.18-0.glibc23.%arch%.rpm',
'MySQL-server-4.1.18-0.glibc23.%arch%.rpm',
'MySQL-shared-4.1.18-0.glibc23.%arch%.rpm'
],
'version' => '4.1.18',
'release' => '0.glibc23',
'dir' => '4.1.18-0'
}
},
'x86' => {
'4.0' => {
'flags' => '',
'files' => [
'MySQL-shared-4.0.27-0.%arch%.rpm',
'MySQL-shared-compat-4.0.27-0.%arch%.rpm',
'MySQL-devel-4.0.27-0.%arch%.rpm',
'MySQL-embedded-4.0.27-0.%arch%.rpm',
'MySQL-client-4.0.27-0.%arch%.rpm',
'MySQL-bench-4.0.27-0.%arch%.rpm',
'MySQL-server-4.0.27-0.%arch%.rpm',
'MySQL-shared-4.0.27-0.%arch%.rpm'
],
'version' => '4.0.27',
'release' => '0',
'dir' => '4.0.27-0'
},
'5.0' => {
'flags' => '',
'files' => [
'MySQL-shared-5.0.18-0.glibc23.%arch%.rpm',
'MySQL-shared-compat-5.0.18-0.glibc23.%arch%.rpm',
'MySQL-devel-5.0.18-0.glibc23.%arch%.rpm',
'MySQL-embedded-5.0.18-0.glibc23.%arch%.rpm',
'MySQL-client-5.0.18-0.glibc23.%arch%.rpm',
'MySQL-bench-5.0.18-0.glibc23.%arch%.rpm',
'MySQL-server-5.0.18-0.glibc23.%arch%.rpm',
'MySQL-shared-5.0.18-0.glibc23.%arch%.rpm'
],
'version' => '5.0.18',
'release' => '0.glibc23',
'dir' => '5.0.18-0'
},
'4.1' => {
'flags' => '',
'files' => [
'MySQL-shared-4.1.18-0.glibc23.%arch%.rpm',
'MySQL-devel-4.1.18-0.glibc23.%arch%.rpm',
'MySQL-embedded-4.1.18-0.glibc23.%arch%.rpm',
'MySQL-client-4.1.18-0.glibc23.%arch%.rpm',
'MySQL-bench-4.1.18-0.glibc23.%arch%.rpm',
'MySQL-server-4.1.18-0.glibc23.%arch%.rpm',
'MySQL-shared-4.1.18-0.glibc23.%arch%.rpm'
],
'version' => '4.1.18',
'release' => '0.glibc23',
'dir' => '4.1.18-0'
}
}
};
1;
Enter WHM, click Update Server Software, it'll update you to 4.1.19!! :D
If you'd like me to do this for you, click the link in my sig, go to Server Security, and order the update MySQL package (near the bottom).
Enjoy 4.1.19! :D