免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: szkarry
打印 上一主题 下一主题

请教fedora9下安装mysql5.1.30问题 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2008-12-01 16:02 |只看该作者
对于REDHAT,官方只提供了for rhel4 rhel5的包
在F10系统也是安装不上的,有包冲突问题

论坛徽章:
0
12 [报告]
发表于 2008-12-01 18:07 |只看该作者
我用源码安装configure make make install 后都提示成功了
但执行命令mysql_install_db时会了个错
错误如下:
bin/mysql_install_db --user=mysql
Installing MySQL system tables...
081201 17:49:01 [ERROR] /usr/local/mysql/libexec/mysqld: unknown option '--skip-federated'
081201 17:49:01 [ERROR] Aborting

081201 17:49:01 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete


Installation of system tables failed!  Examine the logs in
/usr/local/mysql/var for more information.

You can try to start the mysqld daemon with:

    shell> /usr/local/mysql/libexec/mysqld --skip-grant &

and use the command line tool /usr/local/mysql/bin/mysql
to connect to the mysql database and look at the grant tables:

    shell> /usr/local/mysql/bin/mysql -u root mysql
    mysql> show tables

Try 'mysqld --help' if you have problems with paths.  Using --log
gives you a log in /usr/local/mysql/var 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 are the
MySQL email archives available at http://lists.mysql.com/.

Please check all of the above before mailing us!  And remember, if
you do mail us, you MUST use the /usr/local/mysql/bin/mysqlbug script!

请问有哪个兄弟遇到过,知不知怎么解决 ?

论坛徽章:
0
13 [报告]
发表于 2008-12-01 18:16 |只看该作者
安装。。。。
看看手册install:)

论坛徽章:
0
14 [报告]
发表于 2008-12-01 22:48 |只看该作者
081201 17:49:01 [ERROR] /usr/local/mysql/libexec/mysqld: unknown option '--skip-federated'
081201 17:49:01 [ERROR] Aborting


去你已经存在的my.cnf里面注释掉skip-federated 这句。

论坛徽章:
0
15 [报告]
发表于 2008-12-02 09:01 |只看该作者
搞定,谢谢大家
我安装成功后
是不是在本机可以同时当服务器也可以当客户端来进行开发

[ 本帖最后由 szkarry 于 2008-12-2 09:06 编辑 ]

论坛徽章:
8
综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-09-14 06:20:00金牛座
日期:2014-10-10 11:23:34CU十二周年纪念徽章
日期:2013-10-24 15:41:34酉鸡
日期:2013-10-19 10:17:1315-16赛季CBA联赛之北京
日期:2017-03-06 15:12:44
16 [报告]
发表于 2008-12-02 09:39 |只看该作者
原帖由 szkarry 于 2008-12-2 09:01 发表
搞定,谢谢大家
我安装成功后
是不是在本机可以同时当服务器也可以当客户端来进行开发




yeah

论坛徽章:
0
17 [报告]
发表于 2008-12-30 13:32 |只看该作者
哈哈,我也是
[code]
yum erase mysql-libs
Loaded plugins: refresh-packagekit
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package mysql-libs.i386 0:5.0.51a-1.fc9 set to be erased
--> Processing Dependency: libmysqlclient.so.15 for package: redland
--> Processing Dependency: libmysqlclient.so.15 for package: amarok
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: redland
--> Processing Dependency: libmysqlclient.so.15(libmysqlclient_15) for package: amarok
--> Running transaction check
---> Package redland.i386 0:1.0.7-1.fc9 set to be erased
--> Processing Dependency: librdf.so.0 for package: soprano
---> Package amarok.i386 0:1.4.8-5.fc9 set to be erased
--> Running transaction check
---> Package soprano.i386 0:2.0.3-2.fc9 set to be erased
--> Processing Dependency: libsoprano.so.4 for package: kdebase-runtime
--> Processing Dependency: libsoprano.so.4 for package: kdebase-libs
--> Processing Dependency: libsoprano.so.4 for package: kdelibs
--> Processing Dependency: libsoprano.so.4 for package: kdebase
--> Processing Dependency: libsopranoclient.so.1 for package: kdebase-runtime
--> Processing Dependency: libsopranoclient.so.1 for package: kdelibs
--> Processing Dependency: libsopranoindex.so.1 for package: kdebase-runtime
--> Processing Dependency: libsopranoserver.so.1 for package: kdebase-runtime
--> Running transaction check
---> Package kdebase.i386 6:4.0.3-9.fc9 set to be erased
--> Processing Dependency: kdebase4 for package: kdebase-workspace
---> Package kdebase-runtime.i386 0:4.0.3-10.fc9 set to be erased
---> Package kdebase-libs.i386 6:4.0.3-9.fc9 set to be erased
---> Package kdelibs.i386 6:4.0.3-7.fc9 set to be erased
--> Processing Dependency: kdelibs4 >= 4.0.3 for package: kdepimlibs
--> Processing Dependency: kdelibs4 >= 4.0.3 for package: kdeaccessibility
--> Processing Dependency: kdelibs4 >= 4.0.3 for package: kdemultimedia
--> Processing Dependency: kdelibs4 >= 4.0.3 for package: kdebase-workspace-libs
--> Processing Dependency: kdelibs4 >= 4.0.3 for package: kdeartwork
--> Processing Dependency: kdelibs4 >= 4.0.3 for package: kdenetwork
--> Processing Dependency: kdelibs4 >= 4.0.3 for package: kdegraphics
--> Processing Dependency: kdelibs4 >= 4.0.3 for package: kdeutils
--> Processing Dependency: libkde3support.so.4 for package: kdegraphics-libs
--> Processing Dependency: libkde3support.so.4 for package: kdepimlibs
--> Processing Dependency: libkde3support.so.4 for package: kdeaccessibility
--> Processing Dependency: libkde3support.so.4 for package: kdemultimedia-libs
--> Processing Dependency: libkde3support.so.4 for package: kdemultimedia
--> Processing Dependency: libkde3support.so.4 for package: kdebase-workspace-libs
--> Processing Dependency: libkde3support.so.4 for package: kdenetwork-libs
--> Processing Dependency: libkde3support.so.4 for package: kdenetwork
--> Processing Dependency: libkde3support.so.4 for package: kdeutils
--> Processing Dependency: libkde3support.so.4 for package: ktorrent
--> Processing Dependency: libkde3support.so.4 for package: kdeedu
--> Processing Dependency: libkdecore.so.5 for package: ktorrent
--> Processing Dependency: libkdecore.so.5 for package: kdegraphics-libs
--> Processing Dependency: libkdecore.so.5 for package: kdepimlibs
--> Processing Dependency: libkdecore.so.5 for package: kdemultimedia
--> Processing Dependency: libkdecore.so.5 for package: kdemultimedia-libs
--> Processing Dependency: libkdecore.so.5 for package: kdeedu-libs
--> Processing Dependency: libkdecore.so.5 for package: kdebase-workspace-libs
--> Processing Dependency: libkdecore.so.5 for package: kdenetwork-libs
--> Processing Dependency: libkdecore.so.5 for package: kdeartwork
--> Processing Dependency: libkdecore.so.5 for package: kdenetwork
--> Processing Dependency: libkdecore.so.5 for package: kdegraphics
--> Processing Dependency: libkdecore.so.5 for package: kdeutils
--> Processing Dependency: libkdecore.so.5 for package: kdeedu
--> Processing Dependency: libkdecore.so.5 for package: extragear-plasma
--> Processing Dependency: libkdecore.so.5 for package: kdeaccessibility
--> Processing Dependency: libkdesu.so.5 for package: kdeutils
--> Processing Dependency: libkdeui.so.5 for package: ktorrent
--> Processing Dependency: libkdeui.so.5 for package: kdegraphics-libs
--> Processing Dependency: libkdeui.so.5 for package: kdepimlibs
--> Processing Dependency: libkdeui.so.5 for package: kdemultimedia
--> Processing Dependency: libkdeui.so.5 for package: kdemultimedia-libs
--> Processing Dependency: libkdeui.so.5 for package: kdeedu-libs
--> Processing Dependency: libkdeui.so.5 for package: kdebase-workspace-libs
--> Processing Dependency: libkdeui.so.5 for package: kdenetwork-libs
--> Processing Dependency: libkdeui.so.5 for package: kdenetwork
--> Processing Dependency: libkdeui.so.5 for package: kdegraphics
--> Processing Dependency: libkdeui.so.5 for package: kdeutils
--> Processing Dependency: libkdeui.so.5 for package: kdeedu
--> Processing Dependency: libkdeui.so.5 for package: extragear-plasma
--> Processing Dependency: libkdeui.so.5 for package: kdeaccessibility
--> Processing Dependency: libkdnssd.so.4 for package: kdenetwork
--> Processing Dependency: libkfile.so.4 for package: kdegraphics-libs
--> Processing Dependency: libkfile.so.4 for package: kdepimlibs
--> Processing Dependency: libkfile.so.4 for package: kdeaccessibility
--> Processing Dependency: libkfile.so.4 for package: kdemultimedia-libs
--> Processing Dependency: libkfile.so.4 for package: kdemultimedia
--> Processing Dependency: libkfile.so.4 for package: extragear-plasma
--> Processing Dependency: libkfile.so.4 for package: kdenetwork-libs
--> Processing Dependency: libkfile.so.4 for package: kdenetwork
--> Processing Dependency: libkfile.so.4 for package: kdegraphics
--> Processing Dependency: libkfile.so.4 for package: kdeutils
--> Processing Dependency: libkfile.so.4 for package: ktorrent
--> Processing Dependency: libkfile.so.4 for package: kdeedu
--> Processing Dependency: libkhtml.so.5 for package: kdegraphics-libs
--> Processing Dependency: libkhtml.so.5 for package: kdemultimedia
--> Processing Dependency: libkhtml.so.5 for package: kdeedu-libs
--> Processing Dependency: libkhtml.so.5 for package: kdenetwork-libs
--> Processing Dependency: libkhtml.so.5 for package: kdenetwork
--> Processing Dependency: libkhtml.so.5 for package: kdeedu
--> Processing Dependency: libkhtml.so.5 for package: ktorrent
--> Processing Dependency: libkio.so.5 for package: ktorrent
--> Processing Dependency: libkio.so.5 for package: kdegraphics-libs
--> Processing Dependency: libkio.so.5 for package: kdepimlibs
--> Processing Dependency: libkio.so.5 for package: kdemultimedia
--> Processing Dependency: libkio.so.5 for package: kdemultimedia-libs
--> Processing Dependency: libkio.so.5 for package: kdeedu-libs
--> Processing Dependency: libkio.so.5 for package: kdebase-workspace-libs
--> Processing Dependency: libkio.so.5 for package: kdenetwork-libs
--> Processing Dependency: libkio.so.5 for package: kdenetwork
--> Processing Dependency: libkio.so.5 for package: kdegraphics
--> Processing Dependency: libkio.so.5 for package: kdeutils
--> Processing Dependency: libkio.so.5 for package: kdeedu
--> Processing Dependency: libkio.so.5 for package: extragear-plasma
--> Processing Dependency: libkio.so.5 for package: kdeaccessibility
--> Processing Dependency: libkjs.so.4 for package: kdegraphics-libs
--> Processing Dependency: libkjs.so.4 for package: kdemultimedia
--> Processing Dependency: libkjs.so.4 for package: kdeedu-libs
--> Processing Dependency: libkjs.so.4 for package: kdenetwork-libs
--> Processing Dependency: libkjs.so.4 for package: kdenetwork
--> Processing Dependency: libkjs.so.4 for package: kdeedu
--> Processing Dependency: libkjs.so.4 for package: ktorrent
--> Processing Dependency: libknewstuff2.so.4 for package: kdeedu
--> Processing Dependency: libknewstuff2.so.4 for package: kdeutils
--> Processing Dependency: libknewstuff2.so.4 for package: kdegraphics-libs
--> Processing Dependency: libknotifyconfig.so.4 for package: kdeedu
--> Processing Dependency: libknotifyconfig.so.4 for package: kdenetwork
--> Processing Dependency: libkparts.so.4 for package: kdegraphics-libs
--> Processing Dependency: libkparts.so.4 for package: kdepimlibs
--> Processing Dependency: libkparts.so.4 for package: kdeedu-libs
--> Processing Dependency: libkparts.so.4 for package: kdemultimedia-libs
--> Processing Dependency: libkparts.so.4 for package: kdemultimedia
--> Processing Dependency: libkparts.so.4 for package: kdenetwork-libs
--> Processing Dependency: libkparts.so.4 for package: kdenetwork
--> Processing Dependency: libkparts.so.4 for package: kdegraphics
--> Processing Dependency: libkparts.so.4 for package: kdeutils
--> Processing Dependency: libkparts.so.4 for package: kdeedu
--> Processing Dependency: libkparts.so.4 for package: ktorrent
--> Processing Dependency: libkparts.so.4 for package: kdeaccessibility
--> Processing Dependency: libkpty.so.4 for package: kdegraphics-libs
--> Processing Dependency: libkpty.so.4 for package: kdepimlibs
--> Processing Dependency: libkpty.so.4 for package: kdeaccessibility
--> Processing Dependency: libkpty.so.4 for package: kdemultimedia-libs
--> Processing Dependency: libkpty.so.4 for package: kdemultimedia
--> Processing Dependency: libkpty.so.4 for package: kdenetwork-libs
--> Processing Dependency: libkpty.so.4 for package: kdenetwork
--> Processing Dependency: libkpty.so.4 for package: kdeutils
--> Processing Dependency: libkpty.so.4 for package: ktorrent
--> Processing Dependency: libkpty.so.4 for package: kdeedu
--> Processing Dependency: libkrosscore.so.4 for package: kdeutils
--> Processing Dependency: libktexteditor.so.4 for package: kdegraphics-libs
--> Processing Dependency: libktexteditor.so.4 for package: kdemultimedia
--> Processing Dependency: libktexteditor.so.4 for package: kdeedu-libs
--> Processing Dependency: libktexteditor.so.4 for package: kdenetwork-libs
--> Processing Dependency: libktexteditor.so.4 for package: kdenetwork
--> Processing Dependency: libktexteditor.so.4 for package: kdeedu
--> Processing Dependency: libktexteditor.so.4 for package: ktorrent
--> Processing Dependency: libkutils.so.4 for package: kdegraphics-libs
--> Processing Dependency: libkutils.so.4 for package: kdeaccessibility
--> Processing Dependency: libkutils.so.4 for package: kdemultimedia
--> Processing Dependency: libkutils.so.4 for package: kdenetwork-libs
--> Processing Dependency: libkutils.so.4 for package: kdenetwork
--> Processing Dependency: libkutils.so.4 for package: kdegraphics
--> Processing Dependency: libkutils.so.4 for package: kdeutils
--> Processing Dependency: libkutils.so.4 for package: ktorrent
--> Processing Dependency: libkutils.so.4 for package: kdeedu
--> Processing Dependency: libphonon.so.4 for package: kdegraphics-libs
--> Processing Dependency: libphonon.so.4 for package: kdeedu-libs
--> Processing Dependency: libphonon.so.4 for package: kdemultimedia-libs
--> Processing Dependency: libphonon.so.4 for package: kdemultimedia
--> Processing Dependency: libphonon.so.4 for package: kdenetwork-libs
--> Processing Dependency: libphonon.so.4 for package: kdenetwork
--> Processing Dependency: libphonon.so.4 for package: kdeaccessibility
--> Processing Dependency: libphonon.so.4 for package: kdeedu
--> Processing Dependency: libphonon.so.4 for package: ktorrent
--> Processing Dependency: libsolid.so.4 for package: ktorrent
--> Processing Dependency: libsolid.so.4 for package: kdegraphics-libs
--> Processing Dependency: libsolid.so.4 for package: kdepimlibs
--> Processing Dependency: libsolid.so.4 for package: kdemultimedia
--> Processing Dependency: libsolid.so.4 for package: kdemultimedia-libs
--> Processing Dependency: libsolid.so.4 for package: kdeedu-libs
--> Processing Dependency: libsolid.so.4 for package: kdebase-workspace-libs
--> Processing Dependency: libsolid.so.4 for package: kdenetwork-libs
--> Processing Dependency: libsolid.so.4 for package: kdenetwork
--> Processing Dependency: libsolid.so.4 for package: kdegraphics
--> Processing Dependency: libsolid.so.4 for package: kdeutils
--> Processing Dependency: libsolid.so.4 for package: kdeedu
--> Processing Dependency: libsolid.so.4 for package: extragear-plasma
--> Processing Dependency: libsolid.so.4 for package: kdeaccessibility
--> Processing Dependency: libthreadweaver.so.4 for package: kdeutils
--> Processing Dependency: libthreadweaver.so.4 for package: kdegraphics-libs
--> Running transaction check
---> Package kdeedu-libs.i386 0:4.0.3-3.fc9 set to be erased
---> Package kdegraphics-libs.i386 7:4.0.3-3.fc9 set to be erased
---> Package ktorrent.i386 0:3.0.1-3.fc9 set to be erased
---> Package kdebase-workspace-libs.i386 0:4.0.3-20.fc9 set to be erased
---> Package kdeaccessibility.i386 1:4.0.3-3.fc9 set to be erased
---> Package kdegraphics.i386 7:4.0.3-3.fc9 set to be erased
---> Package kdepimlibs.i386 0:4.0.3-3.fc9 set to be erased
---> Package extragear-plasma.i386 0:4.0.1-5.fc9 set to be erased
---> Package kdemultimedia-libs.i386 6:4.0.3-3.fc9 set to be erased
---> Package kdebase-workspace.i386 0:4.0.3-20.fc9 set to be erased
--> Processing Dependency: kdebase-kdm for package: fedorawaves-kdm-theme
---> Package kdeedu.i386 0:4.0.3-3.fc9 set to be erased
---> Package kdeutils.i386 6:4.0.3-4.fc9 set to be erased
---> Package kdenetwork-libs.i386 7:4.0.3-6.fc9 set to be erased
---> Package kdeartwork.i386 0:4.0.3-3.fc9 set to be erased
---> Package kdemultimedia.i386 6:4.0.3-3.fc9 set to be erased
---> Package kdenetwork.i386 7:4.0.3-6.fc9 set to be erased
--> Running transaction check
---> Package fedorawaves-kdm-theme.noarch 0:1.1-1.fc9 set to be erased
--> Processing Dependency: fedorawaves-kdm-theme for package: kde-settings-kdm
--> Running transaction check
---> Package kde-settings-kdm.noarch 0:4.0-22.fc9.1 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Removing:
mysql-libs              i386       5.0.51a-1.fc9    installed         3.6 M
Removing for dependencies:
amarok                  i386       1.4.8-5.fc9      installed          28 M
extragear-plasma        i386       4.0.1-5.fc9      installed         1.3 M
fedorawaves-kdm-theme   noarch     1.1-1.fc9        installed         1.5 M
kde-settings-kdm        noarch     4.0-22.fc9.1     installed          22 k
kdeaccessibility        i386       1:4.0.3-3.fc9    installed         7.9 M
kdeartwork              i386       4.0.3-3.fc9      installed         5.1 M
kdebase                 i386       6:4.0.3-9.fc9    installed          12 M
kdebase-libs            i386       6:4.0.3-9.fc9    installed         679 k
kdebase-runtime         i386       4.0.3-10.fc9     installed          10 M
kdebase-workspace       i386       4.0.3-20.fc9     installed          42 M
kdebase-workspace-libs  i386       4.0.3-20.fc9     installed         2.4 M
kdeedu                  i386       4.0.3-3.fc9      installed          79 M
kdeedu-libs             i386       4.0.3-3.fc9      installed         1.7 M
kdegraphics             i386       7:4.0.3-3.fc9    installed         2.7 M
kdegraphics-libs        i386       7:4.0.3-3.fc9    installed         3.7 M
kdelibs                 i386       6:4.0.3-7.fc9    installed          37 M
kdemultimedia           i386       6:4.0.3-3.fc9    installed         2.4 M
kdemultimedia-libs      i386       6:4.0.3-3.fc9    installed         743 k
kdenetwork              i386       7:4.0.3-6.fc9    installed          14 M
kdenetwork-libs         i386       7:4.0.3-6.fc9    installed         5.9 M
kdepimlibs              i386       4.0.3-3.fc9      installed         6.4 M
kdeutils                i386       6:4.0.3-4.fc9    installed         5.6 M
ktorrent                i386       3.0.1-3.fc9      installed         7.1 M
redland                 i386       1.0.7-1.fc9      installed         602 k
soprano                 i386       2.0.3-2.fc9      installed         1.5 M

Transaction Summary
=============================================================================
Install      0 Package(s)         
Update       0 Package(s)         
Remove      26 Package(s)         
[/code]

论坛徽章:
0
18 [报告]
发表于 2008-12-30 13:34 |只看该作者
我楼上用的code标签为什么不起作用?

论坛徽章:
0
19 [报告]
发表于 2008-12-30 14:54 |只看该作者
看不懂 好复杂:wink:
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP