Not the answer you need?
Register and ask your own question!

i had problem with mysql in linux

kondaluavulakondaluavula EntrantInactive User Role Participant
Hi ,

Now i want to use MySQL as per my requirements, My OS is Linux(Fedora). I installed MySQL is successfully, when i connect to the MySQL Server i got the following error.

error: 'Access denied for user [EMAIL="'root'@'localhost'"]'root'@'localhost'[/EMAIL] (using password: NO)'

How can i solve it ? , kindly help me.


Thanks
Edukondalu Avula

Comments

  • januzijanuzi Advisor Inactive User Role Mentor
    Are You logging from the shell (command line) ? You could try with:
    mysql -u root -p
    after this mysql will ask You for the password (I`m not sure how it looks like in the Fedora, but there should be question about default password at the end of installation)

    or maybe:
    <table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText">Quote:</td></tr><tr><td class="quote">

    mysqladmin -u root password 'new-password'

    </td></tr></table>
  • debugdebug Contributor Current User Role Advisor
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.