MySQL 5.0.38 packages updated
April 6, 2007 by Jason · 14 Comments
I've rebuilt the MySQL 5.0.38 binaries in my yum repository to take care of a small bug that I introduced for new installs.
It seems that the database initialization script that runs on the first launch of mysqld (part of the 'mysql-server' package) has changed a bit between 5.0.37 & 5.0.38. Unfortunately, not noticing that, I tossed a couple of new .sql scripts in the wrong package. This, as it turns out, only affected users who were trying to do a clean installation of mysql. If you were upgrading from the stock EL4 version, from the 'centosplus' repo, or from one of my earlier releases then you weren't affected.
Glad this got fixed. I was just installing some new servers this week and was puzzled as to why MySQL 5.0.38 wouldn't run after installation, so I was installing from CentOS-Plus and upgrading.
Thanks for all the work you put in to providing these packages. Up to this point we have been using RHEL3 and I have been compiling Apache and PHP from source and using the official MySQL community RPMs when they are published. We are now moving to CentOS 4.4 and being able to have managed packages for our web server is wonderful!
This is from a fresh install of mysql-test
[[email protected] jesse]# yum install mysql-test.x86_64
Loading "protectbase" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
0 packages excluded due to repository protections
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for mysql-test to pack into transaction set.
mysql-test-5.0.38-jason.2 100% |=========================| 173 kB 00:00
---> Package mysql-test.x86_64 0:5.0.38-jason.2 set to be updated
--> Running transaction check
--> Processing Dependency: perl(lib::mtr_cases.pl) for package: mysql-test
--> Processing Dependency: perl(lib::mtr_gprof.pl) for package: mysql-test
--> Processing Dependency: perl(lib::mtr_report.pl) for package: mysql-test
--> Processing Dependency: perl(lib::mtr_match.pl) for package: mysql-test
--> Processing Dependency: perl(lib::mtr_im.pl) for package: mysql-test
--> Processing Dependency: perl(lib::mtr_unique.pl) for package: mysql-test
--> Processing Dependency: perl(lib::mtr_misc.pl) for package: mysql-test
--> Processing Dependency: perl(lib::mtr_stress.pl) for package: mysql-test
--> Processing Dependency: perl(lib::mtr_process.pl) for package: mysql-test
--> Processing Dependency: perl(lib::mtr_gcov.pl) for package: mysql-test
--> Processing Dependency: perl(lib::mtr_timer.pl) for package: mysql-test
--> Processing Dependency: perl(lib::mtr_diff.pl) for package: mysql-test
--> Processing Dependency: perl(lib::mtr_io.pl) for package: mysql-test
--> Finished Dependency Resolution
Error: Missing Dependency: perl(lib::mtr_cases.pl) is needed by package mysql-test
Error: Missing Dependency: perl(lib::mtr_gprof.pl) is needed by package mysql-test
Error: Missing Dependency: perl(lib::mtr_report.pl) is needed by package mysql-test
Error: Missing Dependency: perl(lib::mtr_match.pl) is needed by package mysql-test
Error: Missing Dependency: perl(lib::mtr_im.pl) is needed by package mysql-test
Error: Missing Dependency: perl(lib::mtr_unique.pl) is needed by package mysql-test
Error: Missing Dependency: perl(lib::mtr_misc.pl) is needed by package mysql-test
Error: Missing Dependency: perl(lib::mtr_stress.pl) is needed by package mysql-test
Error: Missing Dependency: perl(lib::mtr_process.pl) is needed by package mysql-test
Error: Missing Dependency: perl(lib::mtr_gcov.pl) is needed by package mysql-test
Error: Missing Dependency: perl(lib::mtr_timer.pl) is needed by package mysql-test
Error: Missing Dependency: perl(lib::mtr_diff.pl) is needed by package mysql-test
Error: Missing Dependency: perl(lib::mtr_io.pl) is needed by package mysql-test
[[email protected] jesse]#
Alright then, it looks like I'll be revisiting this package again tomorrow.
It looks like I managed to accidentally comment out a line. In any case, this should be fixed now. Try running the update again.
Could you post the link to the updated source RPM? Or, even better, add the source rpm's to the Yum repository?
The newest src.rpm is at the link below.
http://www.jasonlitka.com/media/files/SRPMS/mysql-5.0.38-jason.3.src.rpm
Great work! Any plans on adding RHEL5 / CentOS 5 support to the repo?
I've currently got a pair of test systems running in VMWare (1 32-bit & 1 64-bit) but I wasn't planning on actually building any packages for the new distro until some of the larger hosting providers start leasing servers with it installed.
I've tested your SRPM and it builds fine on CentOS 5.0, so there's no real need for it for now. Thanks again!
on RHEL4 getting error :
mysql-test-run: WARNING: Waited 60 seconds for /usr/src/redhat/BUILD/mysql-5.0.38/mysql-test/var/run/mysqld_1.pid to be created, still waiting for 340 seconds...
mysql-test-run: WARNING: Waited 120 seconds for /usr/src/redhat/BUILD/mysql-5.0.38/mysql-test/var/run/mysqld_1.pid to be created, still waiting for 280 seconds...
...
then build failed :
Killing Possible Leftover Processes
Sleep 1 second waiting for processes to die
mysqld[0] has not created PID file in 400 secs.
im_daemon_life_cycle [ fail ]
ERROR: Failed to start Instance Manager.
Aborting: im_daemon_life_cycle failed in default mode. To continue, re-run with '--force'.
Stopping All Servers
Shutting-down Instance Manager
make: *** [test-ns] Error 1
what could be a reason?
Thanx.
Pavel
sorry, the issue was running under root user. should be running as non-root.
Yup. I believe I mentioned that in a prior post, back when I wasn't providing binary RPMs.
Dear Jason,
MySQL 5.0.40 is out at
ftp://ftp.mysql.com/pub/mysql/src/mysql-5.0.40.tar.gz
Could you have a look at it, please?
Many thanks,
Jacek
Another Enterprise-only release? I'll take a look at that tomorrow. Thanks for letting me know it was posted to the FTP.