install RPM package
@QLinux ~]$ su
Password: [root@QLinux q]# rpm -qa | grep mysql mysql-libs-5.1.35-1.fc11.i586 mysql-5.1.35-1.fc11.i586 [root@QLinux q]# rpm -ivh mysql-5.1.35-1.fc11.i586 error: open of mysql-5.1.35-1.fc11.i586 failed: No such file or directory [root@QLinux q]# rpm -Uvh mysql-5.1.35-1.fc11.i586 error: open of mysql-5.1.35-1.fc11.i586 failed: No such file or directory [root@QLinux q]# service mysql status mysql: unrecognized service [root@QLinux q]# ---------------------------------------- I got a package mysql. I was trying to install this, but failed. Where am i wrong? |
Quote:
Quote:
Code:
rpm -ivh mysql-5.1.35-1.fc11.i586.rpm |
As I have seen you post, Mysql already installed at your system
Quote:
If you want to install or upgrade a rpm, the rpm file should be there at your current directory(name.rpm file), rpm -ivh option for fresh installation and rpm -Uvh upgrading the exiting version. Quote:
method should be rpm -ivh name.rpm rpm -Uvh name.rpm |
To get you started with rpm packaging:
http://www.cyberciti.biz/faq/how-do-...ll-suse-linux/ |
Perl(DBI)
gnome-search-tool.desktop MySQL-server-5.1.36-0.glibc23.i386.rpm
gnome-terminal.desktop [root@QLinux Desktop]# rpm -Uvh MySQL-server-5.1.36-0.glibc23.i386.rpm error: Failed dependencies: perl(DBI) is needed by MySQL-server-5.1.36-0.glibc23.i386 [root@QLinux Desktop]# ^C [root@QLinux Desktop]# yum install perl Loaded plugins: refresh-packagekit Setting up Install Process Package 4:perl-5.10.0-69.fc11.i586 already installed and latest version Nothing to do --------------------------------------- Thanks for your all answers. I went to the folder and tried to install, now I got dependecies error. I went to software upgrade, there is not such a perl related update. I tried "yum", too, seems like i have already this, or not.. Where am i wrong? |
already installed?
that's true when I do "rpm -qa | grep mysql", I can see package, does that mean I already installed package, or I need to rpm -Uvh command?
If package is already installed, why can't i find any service mysql from service? As you can see "service mysql status" unrecognized service. 1. Did i install already "mysql" package? 2. If yes, how can i run mysql? why can't i find mysql service from service list? 3. If I already install mysql correctly, do i need to still download "perl(DBI)" for dependency? Thanks for your knowledge and answer. |
As i have referred to your previous post your system not existing with any older version of
Quote:
if there is any dependencies for package installation you have install the dependencies too. rpm having option to ignore the dependencies (--nodeps) but i don't think this is a good practice to install packages. Actually "service mysqld start" its referring whether is there startup script with name of mysqld at /etc/rc.d/init.d directory, therefore please makesure the startup script is existing on the above mentioned location. |
All times are GMT -5. The time now is 08:17 AM. |