[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] doc: add upgrade sequence

Back to archive index

HAYASHI Kentaro null+****@clear*****
Thu Oct 4 10:54:37 JST 2012


HAYASHI Kentaro	2012-07-26 16:27:34 +0900 (Thu, 26 Jul 2012)

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

  Merged 7874035: Merge branch 'master' of github.com:mroonga/mroonga

  Log:
    doc: add upgrade sequence

  Modified files:
    doc/source/news.rst

  Modified: doc/source/news.rst (+39 -0)
===================================================================
--- doc/source/news.rst    2012-07-26 16:27:18 +0900 (73250d3)
+++ doc/source/news.rst    2012-07-26 16:27:34 +0900 (e8d641b)
@@ -16,6 +16,45 @@ Release 2.05 - 2012/07/29
    in :doc:`/userguide/storage`, please recreate (dump and restore)
    database.
 
+Here are upgrade sequence.
+
+We dump a database that uses mroonga::
+
+  % mysqldump MY_MROONGA_DATABASE > database-mroonga.dump
+
+We drop the existing database::
+
+  % mysql -u root -e 'DROP DATABASE MY_MROONGA_DATABASE'
+
+We upgrade to "mroonga" storage engine. We will use
+``apt-get`` on Debian GNU/Linux or Ubuntu and ``yum`` on
+CentOS or Fedora.
+
+apt-get::
+
+  % sudo apt-get install -y mysql-server-mroonga
+
+yum::
+
+  % sudo yum remove -y mysql-mroonga
+  % 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
+   a MySQL's system table.
+
+We recreate a database::
+
+  % mysql -u root -e 'CREATE DATABASE MY_MROONGA_DATABASE'
+
+We restore a database by modified dump file::
+
+  % mysql -u root MY_MROONGA_DATABASE < database-mroonga.dump
+
+Now, we can use mroonga 2.05.
+
 Improvements
 ^^^^^^^^^^^^
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index