[Groonga-mysql-commit] mroonga/mroonga [master] doc: update "upgrade sequence"

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 27日 (金) 13:01:37 JST


HAYASHI Kentaro	2012-07-27 13:01:37 +0900 (Fri, 27 Jul 2012)

  New Revision: ac20bffa1fe832389944339dc61e4193eb53a472
  https://github.com/mroonga/mroonga/commit/ac20bffa1fe832389944339dc61e4193eb53a472

  Log:
    doc: update "upgrade sequence"

  Modified files:
    doc/source/news.rst

  Modified: doc/source/news.rst (+14 -9)
===================================================================
--- doc/source/news.rst    2012-07-26 16:27:34 +0900 (e8d641b)
+++ doc/source/news.rst    2012-07-27 13:01:37 +0900 (7e8b2e5)
@@ -16,17 +16,17 @@ Release 2.05 - 2012/07/29
    in :doc:`/userguide/storage`, please recreate (dump and restore)
    database.
 
-Here are upgrade sequence.
+Here is upgrade sequence.
 
-We dump a database that uses mroonga::
+Dump a database that uses mroonga::
 
   % mysqldump MY_MROONGA_DATABASE > database-mroonga.dump
 
-We drop the existing database::
+Drop the existing database::
 
   % mysql -u root -e 'DROP DATABASE MY_MROONGA_DATABASE'
 
-We upgrade to "mroonga" storage engine. We will use
+You must upgrade to "mroonga" storage engine. Use
 ``apt-get`` on Debian GNU/Linux or Ubuntu and ``yum`` on
 CentOS or Fedora.
 
@@ -34,22 +34,27 @@ apt-get::
 
   % sudo apt-get install -y mysql-server-mroonga
 
-yum::
+yum (upgrade from mroonga release prior to v2.02)::
 
   % sudo yum remove -y mysql-mroonga
   % sudo yum install -y mysql-mroonga
 
+yum (upgrade from mroonga release v2.03 or later)::
+
+  % sudo yum install -y mysql-mroonga
+
 .. caution::
 
-   We don't forget to run ``yum remove`` before ``yum
-   install``. If we forget to run ``yum remove``, we will break
+   Don't forget to run ``yum remove`` before ``yum
+   install`` if you upgrade mroonga prior to v2.02 release.
+   If we forget to run ``yum remove``, we will break
    a MySQL's system table.
 
-We recreate a database::
+Recreate a database::
 
   % mysql -u root -e 'CREATE DATABASE MY_MROONGA_DATABASE'
 
-We restore a database by modified dump file::
+Restore a database by modified dump file::
 
   % mysql -u root MY_MROONGA_DATABASE < database-mroonga.dump
 
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-mysql-commit メーリングリストの案内
Back to archive index