免费注册 查看新帖 |

Chinaunix

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

freebsd4.7下mydql3.23.52安装问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-03-15 21:20 |只看该作者 |倒序浏览
机器是compaq alpha workstation xp1000,os是freebsd 4.7 release,使用x-user安装,然后安装了kde。

应用安装了apache1.3.27和proftpd1.2.6,使用的是从freebsdchina.org下载的binary文件安装。

下载mysql-3.23.52_1.tgz,mysql-client-3.23.52,p5-Data-showTable-3.3,p5-DBI-1.28.p5-Mysql-modules-1.2216后,pkg_add 安装,报错无法安装grant表,mysqld core dump,查找mysql的帮助,发现这个错误与帮助中所说的有出入,在/var/db/mysql中只发现了一个mysqlcoredump文件和mysql.test两个空目录。

改用port安装,编译libltdl时,出现ltconfig:unrecongnized option --disable-ltlibs,怎么解决?

论坛徽章:
0
2 [报告]
发表于 2003-03-15 22:23 |只看该作者

freebsd4.7下mydql3.23.52安装问题

用2进制包,省得麻烦~

论坛徽章:
0
3 [报告]
发表于 2003-03-16 10:24 |只看该作者

freebsd4.7下mydql3.23.52安装问题

[quote]原帖由 "redfox"]用2进制包,省得麻烦~[/quote 发表:


用binary失败才用port安装的。

论坛徽章:
0
4 [报告]
发表于 2003-03-16 14:22 |只看该作者

freebsd4.7下mydql3.23.52安装问题

用binary不可能失败,又不用编译的,库也不会少。

论坛徽章:
0
5 [报告]
发表于 2003-03-16 15:47 |只看该作者

freebsd4.7下mydql3.23.52安装问题

我在vmware下安装的freebsd4.6.2release上安装正确,host主机为
intel pIII500 512M memory

在alpha workstation下错误信息如下:
  1. Preparing db table
  2. Preparing host table
  3. Preparing user table
  4. Preparing func table
  5. Preparing tables_priv table
  6. Preparing columns_priv table
  7. Installing all prepared tables
  8. Abort trap (core dumped)
  9. Installation of grant tables failed!

  10. Examine the logs in /var/db/mysql for more information.  <<--没有log
  11. You can also try to start the mysqld daemon with:
  12. /usr/local/libexec/mysqld --skip-grant &
  13. You can use the command line tool
  14. /usr/local/bin/mysql to connect to the mysql
  15. database and look at the grant tables:

  16. shell>; /usr/local/bin/mysql -u root mysql
  17. mysql>; show tables

  18. Try 'mysqld --help' if you have problems with paths. Using --log
  19. gives you a log in /var/db/mysql that may be helpful.

  20. The latest information about MySQL is available on the web at
  21. http://www.mysql.com
  22. Please consult the MySQL manual section: 'Problems running mysql_install_db',
  23. and the manual section that describes problems on your OS.
  24. Another information source is the MySQL email archive.
  25. Please check all of the above before mailing us!
  26. And if you do mail us, you MUST use the /usr/local/bin/mysqlbug script!
  27. mysql:*:88:
  28. You already have a group "mysql", so I will use it.
  29. mysql:*:88:88::0:0:MySQL Daemon:/var/db/mysql:/sbin/nologin
  30. You already have a user "mysql", so I will use it.
  31. Changed home directory of "mysql" to "/var/db/mysql"
复制代码

论坛徽章:
0
6 [报告]
发表于 2003-03-16 15:55 |只看该作者

freebsd4.7下mydql3.23.52安装问题

你这是2进址包吗?2进制包解开就能用的,只要改一下目录的权限加一下用户就行了。

论坛徽章:
0
7 [报告]
发表于 2003-03-16 16:15 |只看该作者

freebsd4.7下mydql3.23.52安装问题

[quote]原帖由 "redfox"]你这是2进址包吗?2进制包解开就能用的,只要改一下目录的权限加一下用户就行了。[/quote 发表:


这个包来源与ftp://ftp.freebsdchina.org/pub/FreeBSD/ports/alpha/packages-4.7-release/All/mysql-server-3.23.59_1.tgz

这个是binary的,是freebsd的package方式,使用pkg_add安装。你所所的2进制方式是指?

单独使用mysql_install_db初始化数据库也报同样的错。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP