-- 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 发现安装成功后,不能启动,这是哪里的问题呢
-- 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 Answers
我重新安装了一个新系统,/etc/mysql还是不行,换个其他目录就可以,奇怪了。
这是在/etc/mysql重新安装的log,链接:http://pan.baidu.com/s/1mhkW3lm 密码:nvha
这是在/etc/mysql重新安装的log,链接:http://pan.baidu.com/s/1mhkW3lm 密码:nvha
Please login or Register to submit your answer