Home  >  Article  >  Database  >  How to connect phpstorm to mysql database through SSH

How to connect phpstorm to mysql database through SSH

黄舟
黄舟Original
2017-08-07 15:55:263430browse

phpstorm is a PHP integrated development environment software that integrates many functions. It not only has powerful code editing and debugging functions, but also can connect to the database. Sometimes we cannot access the database server directly. This article is about how to use phpstorm to connect to the mysql database through SSH to facilitate our development


##1. Open phpstorm and open the Database window, as shown below:

How to connect phpstorm to mysql database through SSH


##2. Configure mysql connection, as shown below:

How to connect phpstorm to mysql database through SSH


##3. Fill in the mysql address, user name, and password. If the driver is not installed, you must install the driver first

How to connect phpstorm to mysql database through SSH


##4. Fill in the server information to log in with SSH, login name and password

How to connect phpstorm to mysql database through SSH


5. Test whether the link is successful

How to connect phpstorm to mysql database through SSH


6. Save the configuration. When saving, you will be prompted to set a password:

The above is the detailed content of How to connect phpstorm to mysql database through SSH. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn