Database connection impossible

I am a web development student and brand new with PhPStorm that I installed on my Windows desktop PC and with which I have no problems, but on my MacBook Pro that I use the most it is impossible to manage to configure the connection to my database. I use MAMP Pro to create Virtual Host and the configuration has already not been easy but here I really need help I still have the message "connection refused". I use port 3306 for MySQL, I tested all the drivers...Do you have a solution? Do I need to provide you with more information or a screenshot? Thank you in advance for your understanding and help.

4 comments
Comment actions Permalink

Can you connect to your macOS MySQL server with some other software? If you can, please restart PhpStorm, try to connect agian and then upload the IDE log somewhere (please don't paste it in the message).

0
Comment actions Permalink

Hello and thanks for your help, indeed I hadn't tried it but since I formatted my Macbook Pro and installed PhpStorm I can't use MySQL Workbench either. Where can this come from? I keep looking but if you have the solution I will be happy to know it!

0
Comment actions Permalink

I'm looking for a severals hours and I found this. i can't connect phpstorm to my mysql database and I haven't no more ideas if someone have the solution, I need help...

0
Comment actions Permalink

Yes, this should be 3306 instead.

0

Please sign in to leave a comment.