S
S
Sergey Burduzha2020-01-20 14:06:37
phpstorm
Sergey Burduzha, 2020-01-20 14:06:37

How to connect to mysql database in phpstorm?

Good afternoon.
I work in ubuntu, I use laradock as a server.
So everything works, if I go to the browser, then I can go to phpmyadmin and the table is also available.
I just want to simplify and connect directly to phpstorm.
I understand that this is remote access, but how to set it up?
5e2589bc6cf68544298999.png
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
gupovski, 2020-01-20
@gupovski

Try changing the host to localhost, and enter the password if any.

S
Sergey, 2020-02-11
@Firsov36

On the SSH/SSL tab, check the box: Use SSH tunel.
Specify the server address, port.
Enter a username and password (in my case, I use a key, not a password).
5e42e393c6782576114022.png
On the General tab, specify the connection type - "url only" and the appropriate driver for your database. Specify the username and password for the database.
5e42e2ea328d7044772743.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question