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
pull/62/head
elhoim 2013-03-10 12:51:29 +01:00
parent e057dc1d38
commit 6fbcc9f693
1 changed files with 4 additions and 1 deletions

View File

@ -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/