我对ubuntu很陌生,安装了MySQL使用rpm文件,并在尝试时使用sudo start mysql启动它。password testmysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL
我想用shell命令连接到外部服务器上的mysql数据库。Ubuntu版本16.04。mysql -uXXXXXX -pYYYYYY -h domain.commysql: [Warning] Using a password on the command line interfaceERROR 2059 (HY000): Authentication plugin 'mysql_old_password' cannot be loaded: /usr/lib
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2003] Can't connect to MySQLdoctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 40
我试图在Stackoverflow和internet中找到解决方案,我发现mysql我的Symfony2数据库参数如