Changes between Initial Version and Version 1 of databaseSetup

Show
Ignore:
Timestamp:
07/05/09 16:43:51 (10 years ago)
Author:
ibaldin (IP: 152.54.6.228)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • databaseSetup

    v1 v1  
     1== Setting up ORCA database environment == 
     2 
     3'''NOTE:''' these instructions help set up initial database environment for emulation mode. Extensions to these procedures for real substrate are discussed elsewhere. 
     4 
     51. Create user 'orca' in mysql and grant it all privileges on database 'orca': 
     6{{{ 
     7$ mysql -u root 
     8mysql> grant all privileges on orca.* to orca; 
     9mysql> grant all privileges on orca.* to orca@localhost; 
     10mysql> flush privileges; 
     11}}} 
     12 
     132. Create a database called 'orca' 
     14{{{ 
     15mysql> create database orca; 
     16}}} 
     17 
     183. Populate the database with initial inventory 
     19{{{ 
     20$ mysql -u orca <~/orca/core/schema/mysql/full.schema.sql 
     21$ mysql -u orca <~/orca/core/schema/mysql/full.data.sql 
     22$ mysql -u orca <~/orca/tools/cmdline/renci/demo2.inventory.sql 
     23}}} 
     24