看板FreeBSD
标 题Re: [问题] mysql安装的问题
发信站Computer Science & Information Engineering (Wed Jan 11 16:55:01 2006)
转信站ptt!ctu-reader!Spring!news.nctu!feeder.seed.net.tw!news.ntu!news.ee.tt
那麽,要不要试看看由 ports 安装呢?
ports maintainer 会帮你搞定很多应该要加的参数 :)
啊因为太习惯用 ports 了, 不用 ports 安装的 mysql 我帮不上忙 Q_Q
不好意思
星星拼图 <
[email protected]> 提到:
> 网站上的
> 原始文件片段如下
> The basic commands which you must execute to install and use a MySQL
> binary distribution are:
>
> shell> groupadd mysql
> shell> useradd -g mysql mysql
> shell> cd /usr/local
> shell> gunzip < /PATH/TO/MYSQL-VERSION-OS.tar.gz | tar xvf -
> shell> ln -s FULL-PATH-TO-MYSQL-VERSION-OS mysql
> shell> cd mysql
> shell> scripts/mysql_install_db --user=mysql
> shell> chown -R root .
> shell> chown -R mysql data
> shell> chgrp -R mysql .
> shell> bin/mysqld_safe --user=mysql &
>
> ※ 引述《[email protected] ()》之铭言:
> : 你的说明文件是 mysql 网站上的吗?
> : 那你有试过使用 ports 安装的结果呢?
> : ※ 引述《[email protected] (星星拼图)》之铭言:
> : > 我的FREEBSD版本是6.0
> : > 安装的mysql版本是5.0.18
> : > 照着他说明文件一步一步安装
> : > 安装到 scripts/mysql_install_db --user=mysql这里时
> : > 出现了以下讯息
> : > /libexec/ld-elf .so.1:shared object "libcrypt.so.2"not found ,required
> : > by "my_print_defaults"
> : > 请问
> : > 我要怎麽处理
> : > 谢谢
--
IASL, IIS, SINICA
Cheng-Lung Sung 宋政隆