在用一个更大更快的mysql替换了我的磁盘之后,我正在尝试安装MySQL。在ubuntu上安装mysql-server后,运行select user,host,authentication_string from user where user='root';时,authentication_string我设置了密码,但登录到root的唯一方法是使用sudo运行MySQL命令,如果我试图输入密码,如果我运行mysql -u root -p,它就不能工作。我还试着在<e
在config.inc.php中,我将'127.0.0.1'服务器ip更改为我的系统ip地址。然后我打开XAMPP控制面板,安装Apache和MySql并启动它。我点击Mysql按钮前面的Admin按钮来打开数据库。它显示了'Host cannot connect to mysql server'。MySQL monitor.Your MySQL connection id is 7
Server version: 5.5.36 MySQL