Advertisement
Guest User

Untitled

a guest
Jun 30th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. MySQL said:
  2. Cannot connect: invalid settings.
  3. phpMyAdmin tried to connect to the MySQL server, and the server rejected the
  4. connection. You should check the host, username and password in your
  5. configuration and make sure that they correspond to the information given
  6. by the administrator of the MySQL server.
  7.  
  8. $cfg['Servers'][$i]['password'] = ''; to $cfg['Servers'][$i]['password'] = 'yourPassHere';
  9.  
  10. UPDATE user SET Password=PASSWORD('newpwd') WHERE User='root';
  11. flush privileges;
  12. exit;
  13.  
  14. $cfg['Servers'][$i]['user'] = 'root';
  15. $cfg['Servers'][$i]['password'] = 'password'; // which is default setting in xampp server
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement