Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-2928

Sqoop2: Fix MySQL repository creation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.99.6
    • no-release
    • None

    Description

      Currently the MySQL repository creation/update fails with the following error:

      Can't execute query: CREATE DATABASE IF NOT EXISTS"SQOOP"
      com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"SQOOP"' at line 1

      MySQL uses the nonstandard ` (backtick) character instead of " to quote system identifiers so the database creation command constant has to be fixed.

      Attachments

        Activity

          People

            vasas Vasas Szabolcs
            vasas Vasas Szabolcs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: