Chinaunix
标题:
freebsd4.7下mydql3.23.52安装问题
[打印本页]
作者:
maomaoyu
时间:
2003-03-15 21:20
标题:
freebsd4.7下mydql3.23.52安装问题
机器是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,怎么解决?
作者:
redfox
时间:
2003-03-15 22:23
标题:
freebsd4.7下mydql3.23.52安装问题
用2进制包,省得麻烦~
作者:
maomaoyu
时间:
2003-03-16 10:24
标题:
freebsd4.7下mydql3.23.52安装问题
[quote]
原帖由 "redfox"]用2进制包,省得麻烦~[/quote 发表:
用binary失败才用port安装的。
作者:
redfox
时间:
2003-03-16 14:22
标题:
freebsd4.7下mydql3.23.52安装问题
用binary不可能失败,又不用编译的,库也不会少。
作者:
maomaoyu
时间:
2003-03-16 15:47
标题:
freebsd4.7下mydql3.23.52安装问题
我在vmware下安装的freebsd4.6.2release上安装正确,host主机为
intel pIII500 512M memory
在alpha workstation下错误信息如下:
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
Abort trap (core dumped)
Installation of grant tables failed!
Examine the logs in /var/db/mysql for more information. <<--没有log
You can also try to start the mysqld daemon with:
/usr/local/libexec/mysqld --skip-grant &
You can use the command line tool
/usr/local/bin/mysql to connect to the mysql
database and look at the grant tables:
shell>; /usr/local/bin/mysql -u root mysql
mysql>; show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/db/mysql that may be helpful.
The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/local/bin/mysqlbug script!
mysql:*:88:
You already have a group "mysql", so I will use it.
mysql:*:88:88::0:0:MySQL Daemon:/var/db/mysql:/sbin/nologin
You already have a user "mysql", so I will use it.
Changed home directory of "mysql" to "/var/db/mysql"
复制代码
作者:
redfox
时间:
2003-03-16 15:55
标题:
freebsd4.7下mydql3.23.52安装问题
你这是2进址包吗?2进制包解开就能用的,只要改一下目录的权限加一下用户就行了。
作者:
maomaoyu
时间:
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初始化数据库也报同样的错。
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2