The program 'mysqld' can be found in the following packages:
The program 'mysql' can be found in the following packages:
* mysql-server-core-5.1
* mysql-cluster-server-5.1
* mysql-server-core-5.0
Try: apt-get install <selected package>
并不是真的错误而不错
是因为编译安装mysql的
mysql/bin目录没有添加到path里面
所以要cd 到mysql/bin目录下然后 ./mysql 或者 .bin/mysql -uroot -p