我把phpmyadmin传到空间里 然后打开 用root 空密码登陆 但报错#1045 无法登录 MySQL 服务器
但我配置文件 账号密码是这样的啊 没错 为什么无法登陆$cfg['Servers'][$i]['user'] = 'root';/**
 * MySQL password (only needed with 'config' auth_type)
 *
 * @global string $cfg['Servers'][$i]['password']
 */
$cfg['Servers'][$i]['password'] = '';/**
 * Session to use for 'signon' authentication method
 *
 * @global string $cfg['Servers'][$i]['SignonSession']

解决方案 »

  1.   

    我放在空间的啊    我开通了mysql 应该是启动了把
      

  2.   

    #1045 - Access denied for user 'root'@'localhost' (using password: NO)你所谓的“空间”是你自己的服务器吗?
    如果不是,那么供应商是不可能提供没有口令的root用户登录的
      

  3.   

    就是自己主机屋 买的免费空间啊  我昨天刚开通了 把phpmyadmin装上去去 用户名root  密码空  登陆 就是报错#1045 无法登录 MySQL 服务器