Mysql 使用 ssh 连接
之前有写过远程连接mysql的文章。不过这样做不太安全,更好的方式是利用 ssh 远程连接mysql。 mysql 的登录信息 Host Name/IP Address: localhostPort: 3306User Name: your database created userPassword: your database user password ssh login info 这里如果是密码登录的话,记得确认ssh是否允许root用户登录,如果禁止了需要新建一个用户来进行ssh登录的。 Host Name/IP address: your server host namePort: 21098User Name: your cPanel usernameAuthentication Method: PasswordPassword: your cPanel password