Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Open-AudIT requires a database to store its information in. If you ever need to manually create this database, the commands to do so are below. You should have already set a root password.

Linux

Create the database.

Code Block
mysql -u root -p -e "CREATE DATABASE openaudit;"

...

Code Block
mysql -u root -p openaudit -e "/usr/local/open-audit/other/openaudit_mysql.sql"

...

Create the database.

Code Block
c:\xampp\mysql\bin\mysql.exe -u root -p -e "CREATE DATABASE openaudit;"

Create the database user.

Code Block
c:\xampp\mysql\bin\mysql -u root -p -e "CREATE USER openaudit@localhost IDENTIFIED BY 'openauditpassword';"

Give the user access tot he database.

Code Block
c:\xampp\mysql\bin\mysql -u root -p -e "GRANT ALL PRIVILEGES ON openaudit.* TO openaudit@localhost IDENTIFIED BY 'openauditpassword'; FLUSH PRIVILEGES;"

Populate the database schema.

Code Block
c:\xampp\mysql\bin\mysql -u root -p openaudit -e "c:\xampp\open-audit\other\openaudit_mysql.sql"

 

...