我在本地计算机上安装了MySQL Community Edition 5.5,我想允许远程连接,以便我可以从外部源连接.
我怎样才能做到这一点?
如何使用例如MySQL Query Browser在heroku上执行远程连接到ClearDB MySQL数据库.在哪里获取网址,端口,登录名和密码?
我按照如何使用本地phpMyAdmin客户端访问远程服务器?向phpMyAdmin添加第二个服务器:
$i++;
$cfg['Servers'][$i]['host'] = 'internal.host.name'; // MySQL hostname or IP address
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket
$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')
$cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli')
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
$cfg['Servers'][$i]['auth_type'] = 'config'; // …Run Code Online (Sandbox Code Playgroud)