MySQL-5.1

From openSUSE

(Difference between revisions)
Revision as of 12:05, 7 November 2009
Rajko m (Talk | contribs)
added wiki formatting instead of <pre> tags
� Previous diff
Revision as of 12:08, 7 November 2009
Rajko m (Talk | contribs)
added Go to MySQL link - MySQLNav template is pending
Next diff →
Line 1: Line 1:
 +[[MySQL|Go to MySQL]]
{{Intro-frame| {{Intro-frame|
With MySQL 5.1 package we introduced some changes you may like to know. Most of them will affect you only if you are upgrading from previous version and you did some changes to your configuration.}} With MySQL 5.1 package we introduced some changes you may like to know. Most of them will affect you only if you are upgrading from previous version and you did some changes to your configuration.}}
Line 42: Line 43:
For list of runtime incompatibilities see [http://dev.mysql.com/doc/refman/5.1/en/upgrading-from-previous-series.html MySQL upgrading documentation] For list of runtime incompatibilities see [http://dev.mysql.com/doc/refman/5.1/en/upgrading-from-previous-series.html MySQL upgrading documentation]
 +
 +[[MySQL|Go to MySQL]]
[[es:MySQL-5.1]] [[es:MySQL-5.1]]
[[ja:MySQL-5.1]] [[ja:MySQL-5.1]]

Revision as of 12:08, 7 November 2009

Go to MySQL

Geeko With MySQL 5.1 package we introduced some changes you may like to know. Most of them will affect you only if you are upgrading from previous version and you did some changes to your configuration.


Contents

Plugins


One of the new features in MySQL 5.1 is support for plugins. So some of the storage engines are now shipped like that. You can use following plugins:

  • archive
  • blackhole
  • federated
  • example

InnoDB is still compiled as internal part of MySQL. If you are upgrading from version 5.0 or if this is your first installation of MySQL 5.1, all plugins will be enabled by default and you can disable them manually later (see http://dev.mysql.com/doc/refman/5.1/en/uninstall-plugin.html).

With this change you need to remove skip-federated option from your /etc/my.cnf file if you have changed it manually. This option was there by default in previous versions of MySQL.


File locations


There were some changes in files locations. Most of them were made in the default configuration file so if you are experiencing problems and you have made some manual adjustments to your /etc/my.cnf, try to merge this file with /etc/my.cnf.rpmnew.

File locations changes:

  • MySQL socket file and pid file were moved from /var/lib/mysql to more reasonable location /var/run/mysql by default.
  • MySQL log files are in /var/log/mysql.


BerkeleyDB


MySQL no longer contains BerkeleyDB as storage engine. There is no fix for that and if you used it before, you have to migrate your data to different storage engine before updating. This can be done for example using following command:

ALTER TABLE foo ENGINE = INNODB;


MySQL Upgrade Log


If you missed messages displayed during automatic MySQL database upgrade, you can find them from now on in

/var/log/mysql/mysqld-upgrade.log

For list of runtime incompatibilities see MySQL upgrading documentation

Go to MySQL