Skip to content

Commit

Permalink
additional content to troubleshooting using original formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bikegeek committed Jul 25, 2023
1 parent f7ce8c3 commit f52c039
Showing 1 changed file with 26 additions and 5 deletions.
31 changes: 26 additions & 5 deletions docs/Users_Guide/load_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,30 @@ _______________
.. _test:

.. list-table::
:widths: 5 15

* - Error
- Solution
* - ERROR:Caught class com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException:Duplicate entry 'CT07-NMM-LIN-R2-0-2005-07-15 12:00:00-2005-07-15 12:00:00-0-2005' for key 2
- This error is caused by trying to insert a stat_header record into the database when an identical one already exists. If identical stat_header information is present in more than one stat file, set the 'stat_header_db_check' value to true. This setting will reduce performance, because the stat_header table is checked for duplicate stat_header each time a row is inserted. However, if a stat_header row already exists in the table with the insert information, then the existing record will be used instead of trying to insert a duplicate.
* - Error:
- **ERROR: Caught class
com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException:***
Duplicate entry
'CT07-NMM-LIN-R2-0-2005-07-15 12:00:00-2005-07-15 12:00:00-0-2005'
for key 2


* - Solution:
- This error is caused by trying to insert a stat_header record into
the database when an identical one already exists. If identical
stat_header information is present in more than one stat file, set
the <stat_header_db_check> value to true. This setting will reduce
performance, because the stat_header table is checked for duplicate
stat_header each time a row is inserted. However, if a stat_header
row already exists in the table with the insert information, then
the existing record will be used instead of trying to insert a
duplicate.

* - Error:
- **ERROR:root: (1049, "Unknown database 'mv_test'") in run_sql ***
Error when connecting to database


* - Solution:
- This error is caused when the database you are attempting to load data, does not exist. You will need to create the database, set up the appropriate privileges as outlined above, and load the schema using the mv_mysql.sql file.

0 comments on commit f52c039

Please sign in to comment.