逍遥九哥 发表于 2013-02-19 20:16

netbsd 安装 mysql51-server 开机启动不了

启动不了 mysql

逍遥九哥 发表于 2013-02-20 15:40

:curse::curse::curse::curse::curse::curse::curse:

gvim 发表于 2013-02-20 16:58

日志呢?

fender0107401 发表于 2013-02-21 08:25

逍遥九哥 发表于 2013-02-19 20:16 static/image/common/back.gif
启动不了 mysql

你这么问,谁也帮不了你,说详细点。

逍遥九哥 发表于 2013-02-21 15:15

回复 4# fender0107401


    nitializing MySQL database system tables.
Installing MySQL system tables...
OK
Filling help tables...
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:

/usr/pkg/bin/mysqladmin -u root password 'new-password'
/usr/pkg/bin/mysqladmin -u root -h netbsd password 'new-password'

Alternatively you can run:
/usr/pkg/bin/mysql_secure_installation

which will also give you the option of removing the test
databases and anonymous user created by default.This is
strongly recommended for production servers.

See the manual for more instructions.

You can start the MySQL daemon with:
cd /usr/pkg ; /usr/pkg/bin/mysqld_safe &

You can test the MySQL daemon with mysql-test-run.pl
cd /usr/pkg/mysql-test ; perl mysql-test-run.pl

Please report any problems with the /usr/pkg/bin/mysqlbug script!

Starting mysqld.
netbsd# netbsd# 130221 14:25:09 mysqld_safe Logging to '/var/mysql/netbsd.err'.
130221 14:25:09 mysqld_safe Starting mysqld daemon with databases from /var/mysql

逍遥九哥 发表于 2013-02-21 15:21



开机后的TOP

逍遥九哥 发表于 2013-02-21 15:22

/usr/pkg/bin/mysqld_safe &

这样可以启动!我添加到 rc.conf 启动不了

gvim 发表于 2013-02-21 19:36

为什么不用ps看?
页: [1]
查看完整版本: netbsd 安装 mysql51-server 开机启动不了