Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27th July 2005, 03:27 PM
Ep Woody Offline
Registered User
 
Join Date: Jun 2005
Posts: 10
FC3 - MySQL can't connect to external Server

Hi,

I've got a website which runs on 2 servers. I want that FC3 connects to my router where the DB-Server is located. (MySQL 3.23)

Somehow it won't succeed, and if I try another db-server on the web it doesn't work either.

FC3 just wants to connect to it's own mysql-server.

Does anyone now why?

Tia

Ep
Reply With Quote
  #2  
Old 28th July 2005, 07:17 PM
awesomejt Offline
Registered User
 
Join Date: Apr 2004
Location: Charlotte, NC, USA
Age: 37
Posts: 28
MySQL Logins

Sounds like you need to setup your MySQL users for each host you plan to chat from.

GRANT ALL PRIVILEGES ON databasename.* TO 'username'@'hostname'
IDENTIFIED BY 'secret' WITH GRANT OPTION;

Of course, this is not exact and you will want to change the GRANT permissions to fit your needs. The above script effectively gives you full persmissions (admin rights) on the database you assign it.

The *hostname* field can be interpreted as the "client" host name -- basically any host that will be accessing the MySQL database.

See the MySQL Documentation:
http://dev.mysql.com/doc/mysql/en/adding-users.html

Also make sure the firewall isn't preventing you from reaching it also.

Last edited by awesomejt; 28th July 2005 at 07:20 PM.
Reply With Quote
Reply

Tags
connect, external, fc3, mysql, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
connect remotely to mysql server fileslasher87 Servers & Networking 6 18th March 2009 09:51 AM
Can't connect to mysql server from phpbb :[ dashdanw Servers & Networking 1 8th October 2006 10:52 PM
can't connect to local MySQL server... birv2 Using Fedora 4 3rd April 2006 01:40 PM
MySQL server, how to connect from Windows computers? rolandpish Servers & Networking 5 4th January 2006 07:36 PM
Can't connect to local MySQL server wprauchholz Servers & Networking 20 6th December 2004 03:13 AM


Current GMT-time: 11:56 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat