Navigation Menu

Skip to content

Commit

Permalink
Show how to uninstall Mroonga
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Mar 10, 2015
1 parent c409bf7 commit 8fd4cce
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion mroonga.rb
Expand Up @@ -73,6 +73,9 @@ def caveats
To install Mroonga plugin, run the following command:
mysql -uroot < '#{install_sql_path}'
To uninstall Mroonga plugin, run the following command:
mysql -uroot < '#{uninstall_sql_path}'
To confirm successfuly installed, run the following command
and confirm that 'Mroonga' is in the list:
Expand Down Expand Up @@ -152,8 +155,16 @@ def install_mroonga(mysql_source_path, mysql_config_path)
system("mysql -uroot < '#{install_sql_path}' || true")
end

def data_path
prefix + "share/mroonga"
end

def install_sql_path
prefix + "share/mroonga/install.sql"
data_path + "install.sql"
end

def uninstall_sql_path
data_path + "uninstall.sql"
end

def option_value(search_key)
Expand Down

0 comments on commit 8fd4cce

Please sign in to comment.