LinuxQuestions.org
Review your favorite Linux distribution.
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


Closed Thread
  Search this Thread
Old 05-31-2006, 11:10 PM   #1
jerryau
LQ Newbie
 
Registered: May 2006
Posts: 6

Rep: Reputation: 0
Multiple MySQL Servers


Hello,

I'm trying to run version 4.x and 5.x servers on the same Fedora Core 5 box. My my.cnf file looks like this:
Quote:
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
port=3306
old_passwords=1

[mysqld0]
datadir=/var/lib/mysql4
socket=/var/lib/mysql4/mysql.sock
port=3307
basedir=/usr/share/mysql4
When I enter the command "service mysqld start" only the already preinstalled MySQL 5.x server starts up. What am I doing wrong here? Can anyone please explain to me, how to correctly setup and run such setup? I have seen the example file in the MySQL manual, but I have no idea how to make it work for me. Please help me.

Thanks,
Jerry
 
Old 06-01-2006, 12:43 AM   #2
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
As a starter, I will point you to a thread where we recently discussed the same kind of problem.

http://www.linuxquestions.org/questi...d.php?t=449907

Now anyway: "service mysqld start" will only start one server, unless you modify yourself the /etc/init.d/mysqld script to start both of them. It would be better in my opinion to make a second script /etc/init.d/mysqld4 that you would then be able to run using "service mysqld4 start"
 
Old 06-01-2006, 12:55 AM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

Continue this thread here.
 
  


Closed Thread



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
fc5 multiple MySQL servers jerryau Linux - Software 3 06-01-2006 12:38 AM
multiple mysql servers on 1 server stoffell Debian 1 03-01-2005 07:28 AM
Multiple X servers Stephanie Linux - General 2 02-27-2003 02:32 PM
multiple x servers?? icyfire Linux - Software 2 11-12-2002 01:42 AM
multiple X servers acid_kewpie Linux - General 1 11-11-2001 03:06 PM

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

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