PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, February 3, 2022

[FIXED] Cannot connect to phpMyAdmin on MAMP

 February 03, 2022     mamp, mysql, phpmyadmin     No comments   

Issue

Im getting this error message:

MySQL said:

Cannot connect: invalid settings. phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

The user and pass are the default ones - both 'root'. I haven't set them anywhere. Ive tried various answers on here but nothing is working


Solution

In Preferences pane of MAMP switch back from PHP 7 to 5.6.10 and it should work again.



Answered By - rmaspero
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing