LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-11-2004, 08:31 PM   #1
leetcrew
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Rep: Reputation: 0
Confused with mySQL


i am confused with mSQL.

I want to download mySQL from http://www.mysql.com/downloads/mysql-4.0.html but i dont know what file will fit on my OS (Redhat Linux 9)


I want RPM. I attempted to download Linux x86 RPM downloads (Server) but when i open that file, it says reading package header and after that, nothing happened.

pls help. thanks

Last edited by leetcrew; 03-11-2004 at 08:36 PM.
 
Old 03-12-2004, 03:46 AM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
corrupt rpm?
download again.
 
Old 03-12-2004, 04:21 AM   #3
samsbox
LQ Newbie
 
Registered: Mar 2004
Location: Telford, UK
Distribution: Red Hat 9
Posts: 13

Rep: Reputation: 0
Maybe you are installing it with the GUI (e.g. just clicking on it), and I have found that I get the same problem as you with most of the RPM's I download, so I much prefer to use the CLI...

Instead try this:

> Download the RPM

> Go to the Command Line (Terminal)

> Type "su root" and then enter your root password when prompted

> then type "rpm -ivh [the name of the package you downloaded]"

> Hit enter, and watch it do its thing

(It will alert you of any errors here much better as well)
 
Old 03-12-2004, 07:59 AM   #4
leetcrew
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Code:
[root@server1 mysql]# rpm -ivh MySQL-server-4.0.18-0.i386.rpm
warning: MySQL-server-4.0.18-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing...                ########################################### [100%]
        file /etc/my.cnf from install of MySQL-server-4.0.18-0 conflicts with file from package mysql-3.23.54a-11
        file /usr/bin/isamchk from install of MySQL-server-4.0.18-0 conflicts with file from package mysql-3.23.54a-11
... ...

        file /usr/share/mysql/ukrainian/errmsg.txt from install of MySQL-server-4.0.18-0 conflicts with file from package mysql-3.23.54a-11
[root@server1 mysql]#
thanks for replies i already attempted uninstalling mySQL 3.x from add/remove programs but still it didn't work fine.

 
Old 03-12-2004, 08:02 AM   #5
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
try:
Code:
rpm -e --force MySQL-server-4.0.18-0
just a guess!


billy
 
Old 03-12-2004, 09:55 AM   #6
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
also this should take care of the whole problem -
just upgrade the MySQL:

rpm -Uvh the.package.rpm
 
Old 03-12-2004, 10:09 AM   #7
leetcrew
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by bigearsbilly
try:
Code:
rpm -e --force MySQL-server-4.0.18-0
just a guess!


billy

Quote:
[root@server1 /]# cd ~root/mysql
[root@server1 mysql]# rpm -e --force MySQL-server-4.0.18-0.i386.rpm
rpm: only installation, upgrading, rmsource and rmspec may be forced
[root@server1 mysql]#
didn't work
 
Old 03-12-2004, 10:30 AM   #8
leetcrew
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
[root@server1 mysql]# rpm -Uvh MySQL-server-4.0.18-0.i386.rpm
warning: MySQL-server-4.0.18-0.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
error: Failed dependencies:
libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.1021-3
libmysqlclient.so.10 is needed by (installed) mod_auth_mysql-1.11-12
libmysqlclient.so.10 is needed by (installed) php-mysql-4.2.2-17
[root@server1 mysql]#
 
Old 03-12-2004, 10:35 AM   #9
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
how about --force --upgrade or whatever?

rpm --rebuild-database ??

perhaps the rpm database is corrupted?

billy
 
Old 03-12-2004, 11:24 AM   #10
markus1982
Senior Member
 
Registered: Aug 2002
Location: Stuttgart (Germany)
Distribution: Debian/GNU Linux
Posts: 1,467

Rep: Reputation: 46
You can always install the binary version (.tar.gz). Please consult http://www.linux-corner.net/linux/services/mysql.html for more information!
 
Old 03-12-2004, 09:55 PM   #11
leetcrew
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Original Poster
Rep: Reputation: 0
i'll try
 
Old 03-12-2004, 11:06 PM   #12
leetcrew
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by markus1982
You can always install the binary version (.tar.gz). Please consult http://www.linux-corner.net/linux/services/mysql.html for more information!
After restart:

Quote:
[root@server1 bin]# ./mysqld
Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
040313 12:41:21 Aborting

040313 12:41:21 ./mysqld: Shutdown Complete

[root@server1 bin]#

It works but after i restart my computer, i can't start mySQL. How to start mySQL on boot time?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 02:13 PM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
confused on php and Mysql install spedsta Linux - Software 3 11-05-2004 01:36 PM
Mysql module.. confused =/ xushi Slackware 7 08-07-2004 07:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration