PhpStorm; MySQL autocomplete - select the database by project Follow. 487701 Created November 08, 2016 11:02. Hi, I have been using phpstorm for a few months now, but. Support for MongoDB, MySQL, PostgreSQL, and other databases. A powerful data editor that lets you modify data rows and navigate through data quickly. Coding assistance for queries similar to the one you get for your projects in WebStorm. A wide range of import and export options for your data.
![Mysql Mysql](https://cdn.app.compendium.com/uploads/user/e7c690e8-6ff9-102a-ac6d-e4aebca50425/f4a5b21d-66fa-4885-92bf-c4e81c06d916/Image/296cc5575caaac36e7db9f3886e1a846/sitemappersonalizationprov.png)
![Webstorm Mysql Webstorm Mysql](https://91b6be3bd2294a24b7b5-da4c182123f5956a3d22aa43eb816232.ssl.cf1.rackcdn.com/contentItem-5289852-39219765-qlikny8k6mt2x-or.jpg)
It can be a bit painful to get the database connection started from your PHPStorm IDE to your MySQL database.
Webstorm Mysql Software
![Webstorm Mysql Webstorm Mysql](https://d2.alternativeto.net/dist/s/039c9051-bb30-e111-80fc-0025902c7e73_1_full.png?format=jpg&width=1200&height=1200&mode=crop)
As a quick hint, this is where it went wrong with mine:
Intellij Database Tool
- MySQL wasn’t listening for incoming connections on the network (change directive bind-address to 0.0.0.0
in /etc/mysql/my.cnf and restart MySQL) - My database user was only allowed to connect from localhost
![Mysql Mysql](https://i.ytimg.com/vi/T8m64bvktnE/maxresdefault.jpg)
Edit the file /etc/mysql/my.cnf to configure MySQL to listen for incoming database connections from the network:
Intellij Community Connect To Database
![Webstorm mysql training Webstorm mysql training](https://blog.jetbrains.com/wp-content/uploads/2012/11/webide-dbt_step4.png)
Then I added a new user (dbuser) which is allowed to connect from my workstation (workstation.i2s.nl):
![](https://cdn-ak.f.st-hatena.com/images/fotolife/r/ruriatunifoefec/20200910/20200910011327.png)