LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 781|回复: 3

mysql安装时遇到的问题!!

[复制链接]
发表于 2003-12-16 22:50:05 | 显示全部楼层 |阅读模式
我安装的是编译过的版本mysql-max-3.23.58-unknown-freebsd4.7-i386
解开后,链接上
# tar zxvf mysql-max-3.23.58-unknown-freebsd4.7-i386
# ln -s  /usr/local/download/mysql-max-3.23.58-unknown-freebsd4.7-i386         /usr/local/mysql
然后就按照贴子http://www.linuxsir.cn/forum.php ... amp;highlight=mysql
运行脚本

bash-2.05b# /usr/local/mysql/scripts/mysql_install_db
my_print_defaults: not found
Didn't find ./bin/mysqld
You should do a 'make install' before executing this script


这是什么意思?还用安装???
发表于 2003-12-17 02:34:24 | 显示全部楼层
建议不要安装编译好的 自己下载tarball编译 很方便 方法网络版北南有一篇文章很详细 还有就从ports安装 也很方便
发表于 2003-12-17 14:07:15 | 显示全部楼层
看看readme吧, 讲的很清楚..
 楼主| 发表于 2003-12-18 23:34:45 | 显示全部楼层
我按照北南南北大哥的那篇文章做了
http://www.linuxsir.cn/forum.php ... amp;highlight=mysql

但make时出现了这些错误,怎么解决!
`
`
`
`
`
. -I.. -I./../include -I../include -I./.. -I.. -I.. -O3 -DDBUG_OFF -DHAVE_BROKEN_REALPATH -c errmsg.c -Wp,-MD,.deps/errmsg.TPlo -o errmsg.o >/dev/null 2>&1
mv -f .libs/errmsg.lo errmsg.lo
make: don't know how to make ctype-gb2312.lo. Stop
*** Error code 1

Stop in /tmp/mysql-4.0.14.
*** Error code 1

Stop in /tmp/mysql-4.0.14.
---------------------------------------------------------------------------------------------------------
我把configure时的那行参数--with-charset=gb2312去掉之后出现了
`
`
`
`
`
c get_password.c -Wp,-MD,.deps/get_password.TPlo -o get_password.o >/dev/null 2>&1
mv -f .libs/get_password.lo get_password.lo
make: don't know how to make ctype-big5.lo. Stop
*** Error code 1

Stop in /tmp/mysql-4.0.14.
*** Error code 1

Stop in /tmp/mysql-4.0.14.
-----------------------------------------------------------------------

无奈阿,难到我的gb2312,和big5有问题吗??
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表