netbsd 安装 mysql51-server 开机启动不了
启动不了 mysql :curse::curse::curse::curse::curse::curse::curse: 日志呢? 逍遥九哥 发表于 2013-02-19 20:16 static/image/common/back.gif启动不了 mysql
你这么问,谁也帮不了你,说详细点。 回复 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
开机后的TOP
/usr/pkg/bin/mysqld_safe &
这样可以启动!我添加到 rc.conf 启动不了 为什么不用ps看?
页:
[1]