我在使用XAMPP的本地主机中收到此警告
Warning: mysql_connect(): mysqlnd cannot connect to MySQL 4.1+ using the old insecureThis will store a new, and more secure, hash value in mysql.user.executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.c
我安装了xampp。我只想使用mysql,我希望在命令行中使用它,而不是在php myadmin中。我怎么能这么做?我再次用mysql安装了sudo apt-get install mysql....5.5,所以我已经安装了两次,一次在xampp中,一次在这里。我试过mysql -u root -p,但它不起作用。我的错误是
can't connect to local mysql server through socket