LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-07-2003, 07:45 PM   #1
Transition
Member
 
Registered: Aug 2003
Distribution: Slackware 10
Posts: 48

Rep: Reputation: 15
MySQL Installation ?


So i've got the HTTPD/PHP server running just fine. Last portion of this project is to get MySQL installed and properly configured. I'm a little confused about what's going on for the following reasons..

When looking in the services config window i see that mysql does indeed exist, and that it is set to run on boot. Alright, so when i check from a CLI and do a rpm -qa | grep mysql i see that no MySQL rpm's exist on the system.. Hmm, ok.

So i figure that MySQL probably isn't installed/configured right so i decide to just get a new RPM from Redhat. So i downloaded php-mysql-4.2.2-17.i386.rpm and attempted to install via the rpm -i php-mysql-4.2.2-17.i386.rpm command

[root@localhost tmp]# rpm -i php-mysql-4.2.2-17.i386.rpm
error: Failed dependencies:
libmysqlclient.so.10 is needed by php-mysql-4.2.2-17
php = 4.2.2-17 is needed by php-mysql-4.2.2-17

Alright so before i start to dive into the hellish world of dependencies i wanted to check if i'm doing things correctly, or perhaps i'm overlooking something.

Any help is appreciated,

RJ
RH 8.0
 
Old 09-07-2003, 09:25 PM   #2
gizmogadgetus
Member
 
Registered: Aug 2003
Location: Texas
Distribution: Fedora Core 2
Posts: 71

Rep: Reputation: 15
Looks like you've got a couple of problems here. First, I doubt you have the mysql server installed. The command you typed should have a listing like mysql-3.23.56-1.9, or some similar version. The first thing I would do would be to download the server rpms and go from there. Which leads me to my second point.

It looks like the RPM you've got there isn't for the MySQL server, but for php-mysql (I think that is a client adapter which allows php/mysql to work together). The dependancy failure you've listed tells me the mysql(client) isn't installed, or it's not installed in the place the rpm is expecting it. My guess is the former, and that you probably need the mysql client libraries installed (I think this is mostly driver/interface material). You'll need to do this after the server install from the first paragraph.

After these steps, you should have all the pieces in place. Good Luck.
 
Old 09-07-2003, 09:46 PM   #3
Transition
Member
 
Registered: Aug 2003
Distribution: Slackware 10
Posts: 48

Original Poster
Rep: Reputation: 15
Perfect response Gizmo! Looks like after installing the client everything is working~!

Thanks a million
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mysql-installation: Not enough space in /var/lib/mysql/ linus123 Linux - Software 8 11-10-2006 02:19 PM
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
Mysql installation yussef Linux - Software 1 06-13-2005 11:49 AM
MySQL 3.23.58-14 installation prolem - mysql.sock not found lightcom Linux - Software 4 02-23-2005 12:46 AM
php4 mysql, installation, php-pages with mysql info stay empty dnla Linux - Software 2 03-14-2004 02:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:21 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