From 6fbcc9f6938468f5c69fd572ee142a1d250bd91d Mon Sep 17 00:00:00 2001 From: elhoim Date: Sun, 10 Mar 2013 12:51:29 +0100 Subject: [PATCH] Updated installation instructions for Mysql schema Updated the path to the correct MYSQL.txt file Changed Mysql> to mysql command line client in explanation Added details for creating database and insert the base schema from command-line --- INSTALL/INSTALL.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/INSTALL/INSTALL.txt b/INSTALL/INSTALL.txt index 01a4d812a..4edfb017d 100755 --- a/INSTALL/INSTALL.txt +++ b/INSTALL/INSTALL.txt @@ -45,7 +45,10 @@ chmod -R g+w files define('CAKE_CORE_INCLUDE_PATH', '/opt/cakephp/lib'); -# Import the empty MySQL database in /var/www/cydefsig/app/MYSQL.txt using phpmyadmin or mysql>. +# Import the empty MySQL database in /var/www/MISP/INSTALL/MYSQL.txt using phpmyadmin or mysql command line client. +# using mysql command line client would be +mysql --password --execute "CREATE DATABASE misp;" #to create the database misp +mysql --password --database=misp < /var/www/MISP/INSTALL/MYSQL.txt #to insert the base schema # Now configure your apache server with the DocumentRoot /var/www/cydefsig/app/webroot/