metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From merrimanr <...@git.apache.org>
Subject [GitHub] metron issue #646: METRON-1030: Metron JDBC platform REST option should acce...
Date Tue, 11 Jul 2017 21:15:25 GMT
Github user merrimanr commented on the issue:

    https://github.com/apache/metron/pull/646
  
    The comment "This is needed when configuring MySQL for Metron REST because this property
must be" is actually incorrect now that I go back and look at it.  The schema-mysql.sql was
initially incorrect because it was dropping the tables (MySQL doesn't support "create table
if not exists") and recreating them every time.  
    
    Fortunately Spring just ignores any errors thrown when running these scripts so the drop
statements were just removed and creating a table that already existed is safely ignored.
 This is just a convenience feature that keeps people from having to manually create database
assets.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message