On Mac OS, SSH ist called Remote Login and can be enabled in the Sharing preferences. Almost all Unix/Linux systems and Mac OS X have built-in SSH support. You need a username and a password for the computer you want to use as the SSH host, and it must support remote access via SSH. A hosting provider might tell you to connect to their MySQL server via a specific SSH host. You could for example use your desktop computer at work to connect to your company's MySQL server from home. The SSH host can basically be any computer that can access the MySQL server. Also, if the SSH host is behind a NAT, it must also be configured correctly. If the SSH host is behind a firewall, it must be configured to allow SSH connections. the MySQL server must allow access from the SSH host.like above, the MySQL server must accept network connections.The following requirements are necessary: Of course, SSH connections don't solve every problem. Please note that the connection between the SSH host and the MySQL host is not encrypted. If you use a SSH connection, the connection between your computer and the SSH host are encrypted. If a firewall prevents direct access to the MySQL server, you might still be able to connect via SSH to a computer behind the firewall (or the MySQL server itself), and from there to the MySQL server. This complicated procedure allows you to: Then it uses this tunnel to connect via a standard connection from the SSH host to the MySQL host. If you use a SSH connection, Sequel Pro first creates a SSH tunnel to the SSH host. sshd is a process that accepts SSH connections, and mysqld is the MySQL server process. The SSH host can be the same as the MySQL host, but it doesn't have to be.įigure 1: An SSH connection can be used to connect through a firewall (if the firewall allows SSH tunnels). While a standard connection involves only two hosts (your computer and the host on which the MySQL server is running), a SSH connection involves a third host, the SSH host. A SSH connection is actually not really a different kind of connection, but rather a standard connection made through a SSH tunnel. You can use a SSH connection to circumvent some of the restrictions of standard conections. To use this connection type: SSH connections A standard connection in Sequel Pro is a connection over the local network or the internet. Standard connections are the simplest method to connect to a MySQL server. SSL connections are not yet supported by Sequel Pro, but are planned. Connection Types for connecting to a remote hostĪt the moment, Sequel Pro supports two methods for connecting to remote MySQL servers: You may also see the page Getting Connected. This page explains how to connect to a MySQL Server running on a different computer than Sequel Pro.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |