网站建设资讯

NEWS

网站建设资讯

suserpm怎么安装mysql

本篇内容介绍了“suse rpm怎么安装MySQL”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!

公司主营业务:成都做网站、网站设计、移动网站开发等业务。帮助企业客户真正实现互联网宣传,提高企业的竞争能力。创新互联是一支青春激扬、勤奋敬业、活力青春激扬、勤奋敬业、活力澎湃、和谐高效的团队。公司秉承以“开放、自由、严谨、自律”为核心的企业文化,感谢他们对我们的高要求,感谢他们从不同领域给我们带来的挑战,让我们激情的团队有机会用头脑与智慧不断的给客户带来惊喜。创新互联推出防城免费做网站回馈大家。

suse mysql 5.0.18-16.i586 rpm 安装过程 主要是解决依赖的一些问题,以前是把包下载的到硬盘上的,只需要mount就可以了然后查找 mysql

1) find / -name "mysql*" -print

显示如下:

/usr/share/doc/packages/postfix/html/mysql_table.5.html

/usr/share/man/man5/mysql_table.5.gz

/usr/share/susehelp/meta/Manuals/Productivity/mysql.desktop

/usr/share/vim/vim64/syntax/mysql.vim

/opt/gnome/share/libgda/mysql_specs_create_db.xml

/opt/gnome/share/libgda/mysql_specs_dsn.xml

/windows/wine/soft/mysql-5.0.21-win32.zip

/windows/wine/mysql

/windows/wine/mysql/mysqlwanquan.rar

/windows/wine/cd1/suse/i586/mysql-shared-5.0.18-16.i586.rpm

/windows/wine/cd4/suse/i586/mysql-5.0.18-16.i586.rpm

/windows/wine/cd4/suse/i586/mysql-client-5.0.18-16.i586.rpm

/windows/wine/cd4/suse/i586/mysql-devel-5.0.18-16.i586.rpm

/windows/wind/mysql数据库视频教程25讲

/windows/wind/mysql数据库视频教程25讲/mysql数据库视频教程25讲

证明已经找到mysql相关文件;

2)hugang:~/.scim # rpm -ivh /windows/wine/cd1/suse/i586/mysql-shared-5.0.18-16.i586.rpm

Preparing...        ########################################### [100%]

1:mysql-shared      ########################################### [100%]

hugang:~/.scim # rpm -Uvh /windows/wine/cd4/suse/i586/mysql-5.0.18-16.i586.rpm

error: Failed dependencies:

mysql-client is needed by mysql-5.0.18-16.i586

perl-DBD-mysql is needed by mysql-5.0.18-16.i586

3)表示第一个包安装成功,第二包需要 mysql-client 和 perl-DBD-mysql包,就先安装依赖的包mysql-client 和 perl-DBD-mysql

hugang:~/.scim # rpm -ivh /windows/wine/cd4/suse/i586/mysql-client-5.0.18-16.i586.rpm

Preparing...        ########################################### [100%]

package mysql-client-5.0.18-16 is already installed

hugang:~/.scim # rpm -Uvh /windows/wine/cd3/suse/i586/perl-DBD-mysql-3.0002-13.i 586.rpm

error: Failed dependencies:

perl-Data-ShowTable is needed by perl-DBD-mysql-3.0002-13.i586

hugang:~/.scim # rpm -Uvh /windows/wine/cd3/suse/i586/perl-Dat perl-Data-ShowTable-3.3-582.i586.rpm perl-Date-Calc-5.4-12.i586.rpm

hugang:~/.scim # rpm -Uvh /windows/wine/cd3/suse/i586/perl-Data-ShowTable-3.3-58 2.i586.rpm

Preparing...        ########################################### [100%]

1:perl-Data-ShowTable  ########################################### [100%]

hugang:~/.scim # rpm -Uvh /windows/wine/cd3/suse/i586/perl-DBD-mysql-3.0002-13.i 586.rpm

Preparing...        ########################################### [100%]

1:perl-DBD-mysql     ########################################### [100%]

表示 mysql-client和perl-DBD-mysql安装成功

hugang:~/.scim # rpm -ivh /windows/wine/cd4/suse/i586/mysql-devel-5.0.18-16.i586.rpm

error: Failed dependencies:

glibc-devel is needed by mysql-devel-5.0.18-16.i586

zlib-devel is needed by mysql-devel-5.0.18-16.i586

3)发现有要依赖glibc-devel 和 zlib-devel

find /windows -name "glibc-devel**" -print

显示目录如下:

hugang:~/.scim # rpm -ivh /windows/wine/cd2/suse/i586/glibc-devel-2.4-25.i586.rpm

Preparing...        ########################################### [100%]

1:glibc-devel      ########################################### [100%]

安装zlib-devel

/windows/wine/cd2/suse/i586/glibc-devel-2.4-25.i586.rpm

find /windows -name "zlib-devel*" -print

显示如下目录:

/windows/wine/cd2/suse/i586/zlib-devel-1.2.3-13.i586.rpm

hugang:~/.scim # rpm -ivh /windows/wine/cd2/suse/i586/zlib-devel-1.2.3-13.i586.rpm

Preparing...        ########################################### [100%]

1:zlib-devel       ########################################### [100%]

“suse rpm怎么安装mysql”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注创新互联网站,小编将为大家输出更多高质量的实用文章!


网站标题:suserpm怎么安装mysql
分享链接:http://cdweb.net/article/gpjhip.html