0

I got this when I open phpmyadmin

You are connected as 'root' with no password, which corresponds to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole by setting a password for user 'root'.

How can I fix this?

password

error

RaomB
  • 43
  • 5

3 Answers3

1

Open phpmyadmin

Users Accounts > Select user "root" > Edit Privileges > Change password

Ahmed Ginani
  • 6,522
  • 2
  • 15
  • 33
  • check the image even when i change it , it give me thesame error, and reload the privilege. should i copy the generated one or the password i write ? – RaomB May 23 '17 at 04:57
0

Run localhost->How-To Guides-> click on 'Reset the MySQL/MariaDB Root Password' -> Follow the steps

Oops
  • 1,373
  • 3
  • 16
  • 46
  • please click edit privileges corresponding to root with password column 'YES' and then set the password. – Oops May 23 '17 at 05:11
0

open phpmyadmin

Fire an update query

SET PASSWORD FOR 'root'@'localhost' = PASSWORD('MyNewPass');

Hope it helps!

Shashank Shah
  • 2,077
  • 4
  • 22
  • 46