我有一个带有非常重要数据的mysql数据库,在那之后,我按照linux的一节课,复制了关于安装mariaDB的命令。执行该命令后,如果不使用sudo,我将无法再使用mysql用户名和密码访问mysql。sudo mysql -uroot -prootuse mydb如何切换到mysql并再次访问我的数据库?
我已经分别安装了mysql,但它似乎不起作用。有什么解决办法吗?MySQL said:
Cannot connect: invalid settings.Connection for controluser as defined in your configuration failed. phpMyAdmin tried to connect to the MySQLconfiguration and make sure that they correspond to the information given by
我通过Cygwin安装了MySQL。$ which mysql如果输入第一行,它将提示输入密码,但提示符不接受任何密码,也不移动。$ mysql -u root -p -h 127.0.0.1ERROR 2003 (HY000): Can't connect to MySQL server onconnect to local MySQL</