mirror of
https://github.com/veops/cmdb.git
synced 2025-08-06 18:03:42 +08:00
docs: update local install
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
### Install
|
||||
|
||||
- Start mysql, redis
|
||||
> mysql must set sql_mode, and root enters mysql to execute:
|
||||
>
|
||||
> `set global sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';`
|
||||
>
|
||||
> `set session sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';`
|
||||
|
||||
- Create mysql database: cmdb
|
||||
- Pull code
|
||||
|
||||
|
Reference in New Issue
Block a user