2002 - 服务器没有响应(或者没有正确配置本地MySQL服务器的套接字)

时间:2013-01-13 11:22:27

标签: php mysql xampp

我目前在xampp上收到此错误。我正在研究一个PHP然后我刚刚重新启动我的电脑然后当我打开php我的管理员..它显示我这个错误..不知道发生了什么。现在该做什么..我搜索了很多..但没有什么帮助?

这是我的 conf.inc.php 文件

   <?php
    /*
     * This is needed for cookie based authentication to encrypt password in
 * cookie
    */
     $cfg['blowfish_secret'] = 'xampp'; /* YOU SHOULD CHANGE THIS FOR A MORE SECURE           COOKIE AUTH! */

  /*
    * Servers configuration
         */
        $i = 0;

         /*
              * First server
          */
           $i++;

        /* Authentication type and info */
          $cfg['Servers'][$i]['auth_type'] = 'config';
           $cfg['Servers'][$i]['host'] = 'localhost';

        $cfg['Servers'][$i]['connect_type'] = 'tcp';
              $cfg['Servers'][$i]['compress'] = false;
        $cfg['Servers'][$i]['user'] = 'root';
            $cfg['Servers'][$i]['password'] = '';
        $cfg['Servers'][$i]['extension'] = 'mysql';
        $cfg['Servers'][$i]['AllowNoPassword'] = true;

         /* User for advanced features */
          $cfg['Servers'][$i]['controluser'] = 'pma';
          $cfg['Servers'][$i]['controlpass'] = '';

        /* Advanced phpMyAdmin features */
         $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
       $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
        $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]['designer_coords'] = 'pma_designer_coords';

     /* rajk - for blobstreaming */
       $cfg['Servers'][$i]['bs_garbage_threshold'] = 50;
         $cfg['Servers'][$i]['bs_repository_threshold'] = '32M';
           $cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;
       $cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';

 /*
   * End of servers configuration
     */

   ?>

0 个答案:

没有答案