With Adminer.php I get a Access denied for user 'root'@'localhost' error. Ubuntu 18.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












Access denied for user 'root'@'localhost'



I am getting this error with adminer.php and phpmyadmin won't work either. I am able to run SQL commands in terminal after typing 'sudo mysql'. I have a user table with root as a username but there is no password field.



If anyone can help me to get this to work it would be great.







share|improve this question
























    up vote
    0
    down vote

    favorite












    Access denied for user 'root'@'localhost'



    I am getting this error with adminer.php and phpmyadmin won't work either. I am able to run SQL commands in terminal after typing 'sudo mysql'. I have a user table with root as a username but there is no password field.



    If anyone can help me to get this to work it would be great.







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Access denied for user 'root'@'localhost'



      I am getting this error with adminer.php and phpmyadmin won't work either. I am able to run SQL commands in terminal after typing 'sudo mysql'. I have a user table with root as a username but there is no password field.



      If anyone can help me to get this to work it would be great.







      share|improve this question












      Access denied for user 'root'@'localhost'



      I am getting this error with adminer.php and phpmyadmin won't work either. I am able to run SQL commands in terminal after typing 'sudo mysql'. I have a user table with root as a username but there is no password field.



      If anyone can help me to get this to work it would be great.









      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 30 at 6:01









      Olympus

      1




      1




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          This solved my problem - can't login as mysql user root from normal user account in ubuntu 16.04



          I'm using Ubuntu 18.04 and so these instructions work for me.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1029961%2fwith-adminer-php-i-get-a-access-denied-for-user-rootlocalhost-error-ubuntu%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            This solved my problem - can't login as mysql user root from normal user account in ubuntu 16.04



            I'm using Ubuntu 18.04 and so these instructions work for me.






            share|improve this answer
























              up vote
              0
              down vote













              This solved my problem - can't login as mysql user root from normal user account in ubuntu 16.04



              I'm using Ubuntu 18.04 and so these instructions work for me.






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                This solved my problem - can't login as mysql user root from normal user account in ubuntu 16.04



                I'm using Ubuntu 18.04 and so these instructions work for me.






                share|improve this answer












                This solved my problem - can't login as mysql user root from normal user account in ubuntu 16.04



                I'm using Ubuntu 18.04 and so these instructions work for me.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 30 at 6:52









                Olympus

                1




                1



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1029961%2fwith-adminer-php-i-get-a-access-denied-for-user-rootlocalhost-error-ubuntu%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Unable to upgrade pip

                    Cutting all the characters after the last /