added demo data to database

pull/59/head
13621160019@163.com 2021-08-06 11:20:33 +08:00
parent 9c4c65ad14
commit e4c6ea606d
3 changed files with 1151 additions and 1139 deletions

View File

@ -15,7 +15,7 @@ Providing database schema and scripts for MyEMS.
### Installation ### Installation
Execute the scripts in MySQL commandline as below, or execute in orther MySQL client tools such as MySQL Workbench, Navicat, DBaver, phpMyAdmin, etc. Execute the following scripts in MySQL commandline, or execute in other MySQL client tools such as MySQL Workbench, Navicat, DBaver, phpMyAdmin, etc.
``` ```
mysql -u root -p < myems_billing_baseline_db.sql mysql -u root -p < myems_billing_baseline_db.sql
mysql -u root -p < myems_billing_db.sql mysql -u root -p < myems_billing_db.sql
@ -27,7 +27,10 @@ mysql -u root -p < myems_reporting_db.sql
mysql -u root -p < myems_system_db.sql mysql -u root -p < myems_system_db.sql
mysql -u root -p < myems_user_db.sql mysql -u root -p < myems_user_db.sql
``` ```
To insert demo data execute the following scripts,
```
mysql -u root -p < demo/myems_system_db.sql
```
#### Change COLLATE for MySQL server before version 8.0 #### Change COLLATE for MySQL server before version 8.0
``` ```
sudo nano /etc/mysql/my.cnf sudo nano /etc/mysql/my.cnf

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff