和本地的一样,在本地的设置下面添加一个一样的就可以了,只要你的外网mysql允许你连接并有权限登录,一般情况下都不允许

解决方案 »

  1.   

    $i++;
    $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
    希望大侠帮我看看,谢谢了。
      

  2.   

    Internal Server Error
    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.
      

  3.   

    兄弟姐妹们,帮个忙,问263是怎么回事,总说是我配置文件或者我的PHPMYADMIN有问题,但是我的PHPMYADMIN连本机的MYSQL是没问题的呀。
      

  4.   

    在config.inc.php里,
    $cfg['Servers'][$i]['only_db']       = 'mobolife';
    其它的就自己添上就行了!