Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-709

FIWARE.Request.Tech.Security.IDM-KeyRock.Defaultdatabasenames

    Details

    • HD-Chapter:
      Security
    • HD-Enabler:
      KeyRock

      Description

      When using the default database names provided in the
      database.example.yml configuration file, the create database mysql
      command must enclose the database name within backtick characters (`)
      or mysql will raise an error like this:

      mysql> create database fi-ware-idm_development;
      ERROR 1064 (42000): 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 '-ware-idm_development' at line 1

      mysql> create database 'fi-ware-idm_development' ;
      ERROR 1064 (42000): 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 ''fi-ware-idm_development'' at line 1

      Enclosing the name in backtick characters avoids this problem:

      mysql> create database `fi-ware-idm_development` ;
      Query OK, 1 row affected (0.00 sec)

      Please, add backticks to the create database example available on the document.
      _______________________________________________
      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-tech-help

        Activity

        FIWARE-TECH-HELP FIWARE-TECH-HELP created issue -
        mev Manuel Escriche made changes -
        Field Original Value New Value
        Assignee Álvaro Alonso [ aalonsog ]
        mev Manuel Escriche made changes -
        Link This issue is cloned by HELP-736 [ HELP-736 ]
        mev Manuel Escriche made changes -
        Component/s FIWARE-TECH-HELP [ 10278 ]
        aalonsog Alvaro Alonso made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        aalonsog Alvaro Alonso made changes -
        Resolution Done [ 10000 ]
        Status In Progress [ 3 ] Done [ 10000 ]
        Hide
        aalonsog Alvaro Alonso added a comment -

        Done! Thanks

        Show
        aalonsog Alvaro Alonso added a comment - Done! Thanks
        mev Manuel Escriche made changes -
        Fix Version/s Sprint 4.1.1 [ 10737 ]
        mev Manuel Escriche made changes -
        Reporter FIWARE-TECH-HELP [ fiware-tech-help ] FW External User [ fw.external.urser ]
        backlogmanager Backlog Manager made changes -
        Summary [Fiware-tech-help] [Chp - Security][Identity Management] Default database names FIWARE.Request.Lab.Default database names
        aalonsog Alvaro Alonso made changes -
        Summary FIWARE.Request.Lab.Default database names FIWARE.Request.Lab.FIWARE.Request.Lab.Security.IDM-KeyRock.Defaultdatabasenames
        aalonsog Alvaro Alonso made changes -
        Summary FIWARE.Request.Lab.FIWARE.Request.Lab.Security.IDM-KeyRock.Defaultdatabasenames FIWARE.Request.Lab.Security.IDM-KeyRock.Defaultdatabasenames
        mev Manuel Escriche made changes -
        Summary FIWARE.Request.Lab.Security.IDM-KeyRock.Defaultdatabasenames FIWARE.Request.Tech.Security.IDM-KeyRock.Defaultdatabasenames
        mev Manuel Escriche made changes -
        Workflow FW eRequest Workflow [ 17596 ] FW extRequest Workflow-II [ 40593 ]
        Status Done [ 10000 ] Closed [ 6 ]
        Issue Type eRequest [ 10101 ] extRequest [ 10104 ]
        FI-WARE Environment FI-LAB [ 10100 ]
        mev Manuel Escriche made changes -
        HD-Enabler KeyRock [ 10889 ]
        HD-Chapter Security [ 10841 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        5d 21h 3m 1 Alvaro Alonso 30/Oct/14 4:55 PM
        In Progress In Progress Done Done
        1s 1 Alvaro Alonso 30/Oct/14 4:55 PM
        Done Done Closed Closed
        438d 16h 13m 1 Manuel Escriche 12/Jan/16 9:08 AM

          People

          • Assignee:
            aalonsog Alvaro Alonso
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: