Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 08-29-2011, 03:07 PM
felipipe felipipe is offline
Hatchling Croc
 
Join Date: Aug 2011
Posts: 1
Lightbulb Connect External Mysql

HI!!

Is it possible to connect from a page in the host towards a database mysql in a dedicated external server?

Example:
Connect Page PHP in Hostgastor to External Server Whith MySQL?

This is because I have a database in a dedicated external server, who contains a database in mysql, and desire to read it from a page php in hostgastor.
Is it possible?

Reply With Quote
  #2  
Old 08-29-2011, 03:23 PM
GatorJMartin's Avatar
GatorJMartin GatorJMartin is offline
HostGator Staff
 
Join Date: Oct 2009
Location: Houston, TX
Posts: 309
Default Re: Connect External Mysql

Good Afternoon,

Connecting remotely to another server for access to a MySQL database is no problem at all. You'll definitely be able to host your PHP from the server here, querying the SQL remotely from another server elsewhere.

The following Support Knowledge-base Article actually details the steps needed in cPanel to make this occur remotely. It's fairly straight forward.

http://support.hostgator.com/article...mysql-database

If you have any questions though, please let us know!

Best Regards,
__________________
Joshua Martin
Customer Service Manager
Hostgator.com LLC.
http://support.hostgator.com/
@HGSupport @Hostgator
Reply With Quote
  #3  
Old 08-30-2011, 07:27 AM
ixape ixape is offline
Junior Croc
 
Join Date: Jul 2011
Location: United Kingdom
Posts: 131
Default Re: Connect External Mysql

Yes this will be possible providing your external SQL provider will allow this.
Reply With Quote
Reply

Bookmarks

Thread Tools

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not connect to MySQL gateway7 Shared Hosting Support 3 02-22-2010 03:51 AM
MySQL from external site rmail2006 Pre-Sales Questions 2 11-17-2009 03:32 PM
connect to mysql gavindon Shared Hosting Support 12 08-10-2009 06:26 AM
MySQL connection from external server vancip Shared Hosting Support 4 12-19-2007 09:13 AM
Connect to MySQL remotely tdogz Shared Hosting Support 20 07-23-2007 10:20 AM

All times are GMT -5. The time now is 11:50 AM.