PhpStorm problem with MySQL database connection

Hello to everyone,

I am using PhpStorm 9.0.2, and I am trying to use it in local with MAMP, but I have a problem with MySQL databse connection. This is the error:

Schermata 2015-10-13 alle 18.51.57.png
Schermata 2015-10-13 alle 18.52.29.png

Thank you

1 comment
Comment actions Permalink

Hi there,

1) Double check your login details (IP and port number in particular -- e.g. your MySQL may not be running on default 3306 port; try "127.0.0.1" instead of "localhost")

2) Check your firewall -- it may block connections

Those 2 are the most often reasons for failure.

0

Please sign in to leave a comment.