匿名用户 提问于 2016-01-17

— 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 发现安装成功后,不能启动,这是哪里的问题呢

7 答案

发布
管理员 2016-01-17

请不要升级操作系统;把oneinstack/install.log 安装日志上传到百度云,回复连接

#1
发布

install.log 安装日志   链接:http://pan.baidu.com/s/1i4gsYiD 密码:wl6w

#2
发布
管理员 2016-01-17

系统之前有安装过mysql,比如/etc/mysql 有这个目录,导致oneinstack源码安装mysql成功,但不能启动,请用一个干净系统安装。

#3
发布

我重新安装了一个新系统,/etc/mysql还是不行,换个其他目录就可以,奇怪了。
这是在/etc/mysql重新安装的log,链接:http://pan.baidu.com/s/1mhkW3lm 密码:nvha

#4
发布
管理员 2016-01-18

你是把程序安装到/etc/mysql 吗?

#5
发布

是的

#6
发布

是的

#7

请登录或者 注册 来提交答案