mysql安装成功,不能启动

问答中心分类: Databasemysql安装成功,不能启动
匿名用户 提问 2年 前

— Installing: /etc/mysql/man/man1/mysql-stress-test.pl.1
— Installing: /etc/mysql/man/man1/mysql-test-run.pl.1
— Installing: /etc/mysql/man/man1/mysql.1
— Installing: /etc/mysql/man/man8/mysqld.8
MySQL install successfully!
update-rc.d: using dependency based boot sequencing
insserv: warning: script ‘K01pureftpd’ missing LSB tags and overrides
insserv: warning: script ‘K01memcached’ missing LSB tags and overrides
insserv: warning: script ‘memcached’ missing LSB tags and overrides
insserv: warning: script ‘pureftpd’ missing LSB tags and overrides
include/mysql-5.5.sh: line 193: /etc/mysql/scripts/mysql_install_db: No such file or directory
/etc/init.d/mysqld: 1: /etc/init.d/mysqld: my_print_defaults: not found
/etc/init.d/mysqld: 276: cd: can’t cd to /etc/mysql
Starting MySQL
Couldn’t find MySQL server (/etc/mysql/bin/mysqld_safe) … failed!
include/mysql-5.5.sh: line 202: /etc/mysql/bin/mysql: No such file or directory
include/mysql-5.5.sh: line 203: /etc/mysql/bin/mysql: No such file or directory
include/mysql-5.5.sh: line 204: /etc/mysql/bin/mysql: No such file or directory
include/mysql-5.5.sh: line 205: /etc/mysql/bin/mysql: No such file or directory
include/mysql-5.5.sh: line 206: /etc/mysql/bin/mysql: No such file or directory
include/mysql-5.5.sh: line 207: /etc/mysql/bin/mysql: No such file or directory
include/mysql-5.5.sh: line 208: /etc/mysql/bin/mysql: No such file or directory
include/mysql-5.5.sh: line 212: service: command not found
我用的是debian7.7 mysql安装目录为/etc/mysql 发现安装成功后,不能启动,这是哪里的问题呢