和本地的一样,在本地的设置下面添加一个一样的就可以了,只要你的外网mysql允许你连接并有权限登录,一般情况下都不允许
解决方案 »
- mysql乱码的问题(数据库编码显示一致的)
- php和mysql 连接丢失的问题(MySQL server has gone away)
- mySQL触发器语法问题,老是报错。
- 大神,帮我找找错吧~!!!mysql的储存过程
- 一条查询语句的性能问题,急!!
- 一个简单的问题,对了就给分!
- 请问:在Windows XP下能不能使用phpMyAdmin,怎样用?
- MariaDB的一个问题
- 帮帮!????那里可以申请到免费的php+mysql空间?
- mysql workbench插入中文问题
- 哪位大虾知道有什么介绍mysql存储管理、查询管理、事务管理、系统恢复的书或者资料的???急啊!!!谢谢了~~
- 请教大虾
$cfg['Servers'][$i]['host'] = '211.100.15.80';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['compress'] = FALSE;
$cfg['Servers'][$i]['controluser'] = '';
$cfg['Servers'][$i]['controlpass'] = '';
$cfg['Servers'][$i]['auth_type'] = 'http';
$cfg['Servers'][$i]['user'] = 'ltopyzf';
$cfg['Servers'][$i]['password'] = '123456';
$cfg['Servers'][$i]['only_db'] = '';
$cfg['Servers'][$i]['verbose'] = '';
$cfg['Servers'][$i]['pmadb'] = ''; // 'phpmyadmin' - see scripts/create_tables.sql
$cfg['Servers'][$i]['booktable'] = ''; // 'pma_book'
$cfg['Servers'][$i]['relation'] = ''; // 'pma_relation'
$cfg['Servers'][$i]['table_info'] = ''; // 'pma_table_info'
$cfg['Servers'][$i]['table_coords'] = ''; // 'pma_table_coords'
$cfg['Servers'][$i]['pdf_pages'] = ''; // 'pma_pdf_pages'
$cfg['Servers'][$i]['column_info'] = ''; // 'pma_column_info'
$cfg['Servers'][$i]['history'] = ''; // 'pma_history'
$cfg['Servers'][$i]['verbose_check'] = TRUE;
$cfg['Servers'][$i]['AllowDeny']['order']
= '';
$cfg['Servers'][$i]['AllowDeny']['rules']
= array();
***********************************
$cfg['PmaAbsoluteUri'] = '';//此项设为空。
***********************************
我是这样设置的,但是连不上。
263告诉我MYSQL数据库IP是:211.100.15.80
希望大侠帮我看看,谢谢了。
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.More information about this error may be available in the server error log.
$cfg['Servers'][$i]['only_db'] = 'mobolife';
其它的就自己添上就行了!