ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved Reset MySQL password on Fedora 26

    IT Discussion
    fedora mysql reset password
    3
    6
    1.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.
    • Emad RE
      Emad R
      last edited by Emad R

      I gave Fedora ago, instead of Centos.

      And for the life of me I cannot reset the password, the reason for resetting is under Fedora 26 you dont get a blank root mysql password, you get temp password pre-created for you.

      So for some reason I erased mysql-community-server package, and reinstalling it. and currently I cant get access to mysql service. cause it keeps telling me no password.

      One guide previously worked and revealed the password using this command:
      grep 'password' /var/log/mysqld.log |tail -1

      Currently this command does not output anything, even after I reinstalled mysql and erased it.
      I tried installing MariaDB same shit.
      I tried:
      mysqld --skip-grant-tables &
      keeps telling me user root needs password

      Why on Fedora they tend to change the standard.

      Emad RE 1 Reply Last reply Reply Quote 0
      • Emad RE
        Emad R @Emad R
        last edited by

        @emad-r said in Reset MySQL password on Fedora 26:

        @emad-r

        I believe I found the right answers from here.

        GitHub Wnmp

        So in general it says this:

        user: root
        password: password
        That is for version 10.0.15-MariaDB, installed through Wnmp ver. 2.1.5.0 on Windows 7 x86

        shareimprove this answer
        answered Feb 6 '15 at 11:11

        Matija Baric
        8,54222925

        The password is "password" now ? go figure. dont ask me how and why.

        1 Reply Last reply Reply Quote 0
        • Emad RE
          Emad R @Emad R
          last edited by

          @emad-r

          I believe I found the right answers from here.

          GitHub Wnmp

          So in general it says this:

          user: root
          password: password
          That is for version 10.0.15-MariaDB, installed through Wnmp ver. 2.1.5.0 on Windows 7 x86

          shareimprove this answer
          answered Feb 6 '15 at 11:11

          Matija Baric
          8,54222925

          Emad RE 1 Reply Last reply Reply Quote 0
          • Emad RE
            Emad R @Emad R
            last edited by

            @emad-r said in Reset MySQL password on Fedora 26:

            @emad-r

            I believe I found the right answers from here.

            GitHub Wnmp

            So in general it says this:

            user: root
            password: password
            That is for version 10.0.15-MariaDB, installed through Wnmp ver. 2.1.5.0 on Windows 7 x86

            shareimprove this answer
            answered Feb 6 '15 at 11:11

            Matija Baric
            8,54222925

            The password is "password" now ? go figure. dont ask me how and why.

            1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender
              last edited by

              I'll admit firstly that I don't fully understand your issue.

              So you were given a temp password, but that password somehow changed to 'password'?

              Emad RE 1 Reply Last reply Reply Quote 0
              • Emad RE
                Emad R @Dashrender
                last edited by

                @dashrender

                Correct, without doing any thing. And this was the first time for 2 things:

                1. Autogen password
                2. password password.

                back in the day, you install you get blank pass, and use mysql_secure_installation

                JaredBuschJ 1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @Emad R
                  last edited by

                  @emad-r said in Reset MySQL password on Fedora 26:

                  @dashrender

                  Correct, without doing any thing. And this was the first time for 2 things:

                  1. Autogen password
                  2. password password.

                  back in the day, you install you get blank pass, and use mysql_secure_installation

                  You still do. No idea what you did

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