免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2589 | 回复: 7
打印 上一主题 下一主题

[NetBSD] netbsd 安装 mysql51-server 开机启动不了 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-02-19 20:16 |只看该作者 |倒序浏览
启动不了 mysql

论坛徽章:
0
2 [报告]
发表于 2013-02-20 15:40 |只看该作者

论坛徽章:
2
亥猪
日期:2014-03-19 16:36:35午马
日期:2014-11-23 23:48:46
3 [报告]
发表于 2013-02-20 16:58 |只看该作者
日志呢?

论坛徽章:
89
水瓶座
日期:2014-04-01 08:53:31天蝎座
日期:2014-04-01 08:53:53天秤座
日期:2014-04-01 08:54:02射手座
日期:2014-04-01 08:54:15子鼠
日期:2014-04-01 08:55:35辰龙
日期:2014-04-01 08:56:36未羊
日期:2014-04-01 08:56:27戌狗
日期:2014-04-01 08:56:13亥猪
日期:2014-04-01 08:56:02亥猪
日期:2014-04-08 08:38:58程序设计版块每日发帖之星
日期:2016-01-05 06:20:00程序设计版块每日发帖之星
日期:2016-01-07 06:20:00
4 [报告]
发表于 2013-02-21 08:25 |只看该作者
逍遥九哥 发表于 2013-02-19 20:16
启动不了 mysql


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

论坛徽章:
0
5 [报告]
发表于 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

论坛徽章:
0
6 [报告]
发表于 2013-02-21 15:21 |只看该作者


开机后的TOP

论坛徽章:
0
7 [报告]
发表于 2013-02-21 15:22 |只看该作者
/usr/pkg/bin/mysqld_safe &

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

论坛徽章:
2
亥猪
日期:2014-03-19 16:36:35午马
日期:2014-11-23 23:48:46
8 [报告]
发表于 2013-02-21 19:36 |只看该作者
为什么不用ps看?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP