I need to upgrade mysql 5.0 to mysql 5.1 and mysql-connector 5.1.16, how to do this one?
What are the steps I should follow?
|
I need to upgrade mysql 5.0 to mysql 5.1 and mysql-connector 5.1.16, how to do this one? What are the steps I should follow? | |||
|
feedback
|
This question came from our site for professional and enthusiast programmers.
|
upgrading from mysql server 5.0 to 5.1 The method in here was the way that this website upgraded MySQL from 5.0 to 5.1. This method could not be same as in your situation. So, first of all, follow the MySQL's guideline (documentation) to upgrade your MySQL engine. This thread is just for the informational purpose only. Upgrade Steps:
After upgrading a 5.0 installation to 5.0.10 or above, it is necessary to upgrade your grant tables. Otherwise, creating stored procedures and functions might not work. mysql_upgrade should be executed each time you upgrade MySQL. It checks all tables in all databases for incompatibilities with the current version of MySQL Server. If a table is found to have a possible incompatibility, it is checked. If any problems are found, the table is repaired. mysql_upgrade also upgrades the system tables so that you can take advantage of new privileges or capabilities that might have been added. To check and repair tables and to upgrade the system tables, mysql_upgrade executes the following commands: mysqlcheck --check-upgrade --all-databases --auto-repair mysql_fix_privilege_tables mysql_upgrade reads options from the command line and from the [mysql_upgrade] group in option files. It supports the options in the following list. Other options are passed to mysqlcheck and to mysql_fix_privilege_tables. For example, it might be necessary to specify the --password[=password] option.
One interesting thing is, MySQL 5.1 version does not have the many different MySQL daemons. It only had mysqld (improved from previous version).
Now you finished the upgrading MySQL to version 5.1.x. | |||
|
feedback
|