這篇文章主要講解了“suse rpm 安裝 mysql的方法”,文中的講解內(nèi)容簡單清晰,易于學(xué)習(xí)與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學(xué)習(xí)“suse rpm 安裝 mysql的方法”吧!
網(wǎng)站建設(shè)哪家好,找成都創(chuàng)新互聯(lián)!專注于網(wǎng)頁設(shè)計、網(wǎng)站建設(shè)、微信開發(fā)、微信平臺小程序開發(fā)、集團企業(yè)網(wǎng)站建設(shè)等服務(wù)項目。為回饋新老客戶創(chuàng)新互聯(lián)還提供了駐馬店免費建站歡迎大家使用!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數(shù)據(jù)庫視頻教程25講
/windows/wind/mysql數(shù)據(jù)庫視頻教程25講/mysql數(shù)據(jù)庫視頻教程25講
證明已經(jīng)找到mysql相關(guān)文件;
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)發(fā)現(xiàn)有要依賴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的方法”的內(nèi)容了,經(jīng)過本文的學(xué)習(xí)后,相信大家對suse rpm 安裝 mysql的方法這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是創(chuàng)新互聯(lián),小編將為大家推送更多相關(guān)知識點的文章,歡迎關(guān)注!