我是 ubuntu 的新手并安装了 MySQL 使用rpm文件,并开始使用它sudo start mysql,当我尝试时
mysqladmin -u root password test
Run Code Online (Sandbox Code Playgroud)
我得到
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Run Code Online (Sandbox Code Playgroud)
我检查了mysqld文件夹,没有
什么可以做的下一步?谢谢你的回答