Versions Compared

Key

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

...

$ mysql -u root -p

mysql>create database ofbiz;
mysql>create database ofbizolap;
mysql>create database ofbiztenant;
mysql>use mysql;
mysql>select database();
mysql>create user ofbiz@localhost;
mysql>create user ofbizolap@localhost;
mysql>create user ofbiztenant@localhost;
mysql>set password for 'ofbiz'@'localhost' = PASSWORD("ofbiz");
mysql>set password for 'ofbizolap'@'localhost' = PASSWORD("ofbizolap");
mysql>set password for 'ofbiztenant'@'localhost' = PASSWORD("ofbiztenant");
mysql>grant all privileges on *.* to 'ofbiz'@localhost identified by 'ofbiz';
mysql>grant all privileges on *.* to 'ofbizolap'@localhost identified by 'ofbizolap';
mysql>grant all privileges on *.* to 'ofbiztenant'@localhost identified by 'ofbiztenant';
</pre>

Seed the database

Then run gradle to seed the database. It is recommended to use the demo data, as there are lots of dependencies in various tables on having at least one record in some other seemingly unrelated table.

...