温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

suse rpm 安装 mysql的方法

发布时间:2021-07-08 17:24:30 来源:亿速云 阅读:212 作者:chen 栏目:MySQL数据库

这篇文章主要讲解了“suse rpm 安装 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的方法”的内容了,经过本文的学习后,相信大家对suse rpm 安装 mysql的方法这一问题有了更深刻的体会,具体使用情况还需要大家实践验证。这里是亿速云,小编将为大家推送更多相关知识点的文章,欢迎关注!

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI