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

FIWARE.Request.Tech.Unable to create_db during idm installation.

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None
    • HD-Enabler:
      KeyRock

      Description

      Hola!

      I was trying to follow the instructions to install idm on this page:
      http://fiware-idm.readthedocs.io/en/latest/admin_guide/#requirements

      At npm run-script create_db step, I ran into problems. Here's the
      error from the command:

      ubuntu@kubecity02:~/Downloads/fiware-idm$ npm run-script create_db

      > idm@0.0.0 create_db /home/ubuntu/Downloads/fiware-idm
      > sequelize --env database db:create

      Sequelize CLI [Node: 8.11.1, CLI: 4.0.0, ORM: 4.33.4]

      Loaded configuration file "config.js".
      Using environment "database".
      sequelize deprecated String based operators are now deprecated. Please
      use Symbol based operators for better security, read more at
      http://docs.sequelizejs.com/manual/tutorial/querying.html#operators
      node_modules/sequelize/lib/sequelize.js:242:13

      ERROR: Client does not support authentication protocol requested by
      server; consider upgrading MySQL client

      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! idm@0.0.0 create_db: `sequelize --env database db:create`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the idm@0.0.0 create_db script.
      npm ERR! This is probably not a problem with npm. There is likely
      additional logging output above.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/ubuntu/.npm/_logs/2018-05-05T15_22_40_096Z-debug.log

      Could someone please help. Thanks a million!

      Best,

      Leny

      __________________________________________________________________________________________

      You can get more information about our cookies and privacy policies on the following links:

      Fiware-tech-help mailing list
      Fiware-tech-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-tech-help

      [Created via e-mail received from: Leny Oktavia <thelenyoktavia@gmail.com>]

        Activity

        Hide
        aalonsog Alvaro Alonso added a comment -

        Hi, which MySQL version do you have installed?

        Show
        aalonsog Alvaro Alonso added a comment - Hi, which MySQL version do you have installed?

          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: