作者jyuny1 (凯文蓝)
看板FreeBSD
标题Re: [请益] mysql 启动
时间Sun Jun 8 16:05:51 2008
※ 引述《ghostleader (小居批~)》之铭言:
: 我不知道这样情况是更乐观还是更麻烦
: 看来是用 package 装的
: /usr/local/bin/mysql was installed by package mysql-client-5.1.6_1
^^^^^^^^^^^^^^^^^^^^
你必须安装 detabase/mysql51-server
你的主机只有安装 mysql client 端
但如果你是要连线到其他的 mysql server 就是另外一个 issue
看情形好像是要在本机 run mysql?
: 如果找到的话那我应该要继续找哪里呢??
如果有安装 portupgrade (建议安装)
试试 portupgrade -N database/mysql51-server
或 portinstall database/mysql51-server
详细请 man portupgrade
安装前务必更新 ports tree
这是我自己更新 ports 用的 sh script 希望对你有用
http://opensvn.csie.org/kevinblue/fbsd_config/7/bin/update-ports
你必须安装
1. ports-mgmt/portupgrade 或 ports-mgmt/portupgrade-devel
2. port-mgmt/portaudit
以下是这个 update-ports 的用法
Usage: update-ports [all|pkgdb|audit|upgrade|dep]]
all [-q]: 1. update ports tree
2. update portsdb
3. check the dependency of installed ports
4. check security vulnerabilities
5. check which ports are out-of-dates
make csup silent if -q applied
pkgdb: update portsdb
audit: check the security vulnerabilities of ports
upgrade: check the ports which need upgrading
dep: Check the dependency of installed ports
update [-q]: update the ports tree
make csup silent if -q applied
更多关於 ports 的资讯请 man ports(7)
--
知识型工作的任务并不是别人赋与的,
而是自己决定的,关键问题在於生产力,
同时要求你承担风险。这问题通常没有正确答案,
而是有好几个选项让你挑。而要有生产力必须先界定结局 --- 彼得 杜拉克
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.109.23.36
※ 编辑: jyuny1 来自: 140.109.23.36 (06/08 16:15)