FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Can't get by Maintenance Mode

    Scheduled Pinned Locked Moved
    Q&A
    5
    33
    116.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dtokarz1
      last edited by

      Success! While I would have thought letting FusionAuth create the database would have set the character set in the database, the actual problem was setting the character set for the MySQL server and then restarting the server.

      I appreciate your time and patience!

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by

        🎆 🎆 🎆

        Awesome!

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • C
          chestnutae Banned
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • danD dan referenced this topic on
          • I
            ian 0
            last edited by

            I'm encountering the same error using PostgreSQL and MySQL.

            not at all sure what is happening. I didn't see any mismatch with character encoding.

            I also joined your slack channel with a new subchannel https://fusionauth.slack.com/archives/C05R6G25472

            with a list of steps and files I used to run this. I can't figure out what FusionAuth is expecting or I'd set it.


            -Ian

            danD I 2 Replies Last reply Reply Quote 1
            • danD
              dan @ian 0
              last edited by

              @ian-0 hate to ask you to try this, but have you created the database manually, following these steps?

              https://fusionauth.io/docs/v1/tech/installation-guide/fusionauth-app#advanced-installation

              In this case, you run the db creation scripts manually, and then when FusionAuth connects, it doesn't have to do anything DDL-wise.

              Can you try that and let us know if it works?

              --
              FusionAuth - Auth for devs, built by devs.
              https://fusionauth.io

              1 Reply Last reply Reply Quote 0
              • I
                ian 0 @ian 0
                last edited by

                @ian-0

                did get slightly further. New error:

                The user for the username you provided was either created or already existed but could not be granted access to the database. The error from the database was [Access denied for user 'fusionauth'@'10.222.3.159' (using password: NO)].

                danD 1 Reply Last reply Reply Quote 0
                • danD
                  dan @ian 0
                  last edited by

                  That indicates the fusionauth user doesn't have a password provided. https://fusionauth.io/docs/v1/tech/reference/configuration has the configuration values.

                  If you are using environment variables, you want to make sure DATABASE_PASSWORD is set.

                  --
                  FusionAuth - Auth for devs, built by devs.
                  https://fusionauth.io

                  danD I 3 Replies Last reply Reply Quote 0
                  • danD
                    dan @dan
                    last edited by

                    Also, @ian-0 , which version of which database are you using? We've had issues with postgresql 15 in the past, but I believe they were squashed in this bug.

                    --
                    FusionAuth - Auth for devs, built by devs.
                    https://fusionauth.io

                    1 Reply Last reply Reply Quote 0
                    • I
                      ian 0 @dan
                      last edited by

                      @dan said in Can't get by Maintenance Mode:

                      That indicates the fusionauth user doesn't have a password provided. https://fusionauth.io/docs/v1/tech/reference/configuration has the configuration values.

                      If you are using environment variables, you want to make sure DATABASE_PASSWORD is set.

                      Yup have this variable set... stranger still is I can manually connect to the database without issue using the same username and password that I have set in the ENV variables.

                      1 Reply Last reply Reply Quote 0
                      • I
                        ian 0 @dan
                        last edited by

                        @dan said in Can't get by Maintenance Mode:

                        That indicates the fusionauth user doesn't have a password provided. https://fusionauth.io/docs/v1/tech/reference/configuration has the configuration values.

                        If you are using environment variables, you want to make sure DATABASE_PASSWORD is set.

                        Using Engine version
                        14.6
                        really bizzare.

                        1 Reply Last reply Reply Quote 0
                        • I
                          ian 0
                          last edited by

                          I rolled back and installed an elastisearch container. Added the SEARCH_TYPE in the fusionauth deployment and mapped a service to the same RDS DB and it stood up without an issue. Something screwy in the way Fusionauth is connecting to either Postgre or MySQL.

                          I'm going to have to talk to sales as I want to enable the features temporarily to use it as a POC. Also so I can justify the cost per month for actual support beyond forums.

                          Thank you for your time.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post