mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-25 02:21:28 +01:00
added information regarding updating the database schema
This commit is contained in:
@@ -32,6 +32,11 @@ To setup a centralized database the following generalized steps can be used:
|
|||||||
</ul>
|
</ul>
|
||||||
</li></ol>
|
</li></ol>
|
||||||
Depending on the database being used, you may need to customize the [dbStatements.properties](https://github.com/jeremylong/DependencyCheck/blob/master/dependency-check-core/src/main/resources/data/dbStatements.properties).
|
Depending on the database being used, you may need to customize the [dbStatements.properties](https://github.com/jeremylong/DependencyCheck/blob/master/dependency-check-core/src/main/resources/data/dbStatements.properties).
|
||||||
|
Alternatively to modifying the dbStatements.properties it is now possible to use a dialect file to support other databases.
|
||||||
|
See [dbStatements_h2.properties](https://github.com/jeremylong/DependencyCheck/blob/master/dependency-check-core/src/main/resources/data/dbStatements_h2.properties)
|
||||||
|
as an example.
|
||||||
|
|
||||||
|
Also, if using an external database you will need to manually upgrade the schema. See [database upgrades](./upgrade.html) for more information.
|
||||||
|
|
||||||
As always, feel free to open an [issue](https://github.com/jeremylong/DependencyCheck/issues)
|
As always, feel free to open an [issue](https://github.com/jeremylong/DependencyCheck/issues)
|
||||||
or post a question to the [dependency-check google group](https://groups.google.com/forum/#!forum/dependency-check).
|
or post a question to the [dependency-check google group](https://groups.google.com/forum/#!forum/dependency-check).
|
||||||
|
|||||||
8
src/site/markdown/data/upgrade.md
Normal file
8
src/site/markdown/data/upgrade.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
Database Upgrades
|
||||||
|
=================
|
||||||
|
If using an external database server, such as MySQL, a DBA must manually perform
|
||||||
|
the database upgrades. Currently, a copy of the initialization and upgrade scripts
|
||||||
|
for MySQL can be found in the [github repository](https://github.com/jeremylong/DependencyCheck/tree/master/dependency-check-core/src/main/resources/data).
|
||||||
|
|
||||||
|
If you want to use an external database other then MySQL please open an issue in our [issue tracker](https://github.com/jeremylong/DependencyCheck/issues)
|
||||||
|
as a dialect properties file will need to be created.
|
||||||
Reference in New Issue
Block a user