LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-17-2007, 07:35 PM   #1
chazaq
LQ Newbie
 
Registered: Aug 2004
Location: Florida
Distribution: Debian, RH9, FC 6, and ...uh... um... microsoft
Posts: 2

Rep: Reputation: Disabled
Fedora Core 6 MySQL port


I installed Mysql 5.0x on my Fedora Core 6 box.
I can connect to mysql in the terminal okay but I want to connect across my lan like I can to another box.

The other box is a Debian/MySQL box and I can connect from my webserver on a port other than the default mysql port (3306).

I am not sure if SElinux or some unique config is required in Fedora to do this.

When I try to puTTY to the FC 6 box I get a "failure to connect"

Any pointers?
 
Old 04-17-2007, 08:48 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Putty can't connect on port 3306 for MySQL, it's an ssh client, you need to use mysql to connect.

If you want to connect to your MySQL host from another connection, you most likely need to add the host and user to the MySQL database to allow such connection.

mysql> grant all privileges on *.* to user@<hostname-or-ip> identified by 'password';
 
Old 04-18-2007, 07:56 AM   #3
chazaq
LQ Newbie
 
Registered: Aug 2004
Location: Florida
Distribution: Debian, RH9, FC 6, and ...uh... um... microsoft
Posts: 2

Original Poster
Rep: Reputation: Disabled
Ooops! I am sorry about the puTTY usage I was wrong.
I use puTTY a lot but not for MySQL connections.

I use SQLyog mostly for administrative/maintenance purposes.
Maybe I should state my goal here...

I want to duplicate (replicate?) my Debian database box so in case of a hardware failure I can keep my company up and running.
My Debian box has MySQL running on a different port than 3306. My PHP connections work fine with that. I want to "mirror" the Debian box or at least set-up a cron to copy the database at prescribed intervals.

First I have to get the FC 6 box to have exactly the same databases as the Debian Box

NOTE: I am self-taught and have to figure everything out as I go.
 
  


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
How to open port on Fedora Core motheeb Linux - Networking 7 08-21-2006 06:34 AM
fedora core 2, with mysql 5.0 and mysql 3.23 dependencies. ilazarte Linux - Software 1 02-07-2006 04:00 PM
MySQL 5.0.3 - Fedora Core 3 Ryand833 Linux - Software 2 03-30-2005 07:34 AM
Fedora Core 3, MySql Server, mysql started mysql ended OkiTek Fedora 30 01-28-2005 09:15 AM
PCMCIA Port - Fedora Core Critter Hart Linux - Laptop and Netbook 6 03-10-2004 05:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:00 AM.

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