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

Notices

Reply
 
Thread Tools
  #1  
Old 09-16-2005, 12:01 PM
Stevie
HostGator Guest
 
Posts: n/a
Question MySQL connections

Hi,

I'm thinking about taking out a reseller plan, but I'd like to know if you allow direct connections to MySQL via port 3306 so that I could connect via ODBC? Sorry if this is a repeat question, I did try doing a search before I posted but got a message telling me I did not have permission to view the page.
Reply With Quote
  #2  
Old 09-16-2005, 02:49 PM
GatorJay
HostGator Guest
 
Posts: n/a
Default Re: MySQL connections

You can connect directly to the mysql database, yes. I believe it is that port, but I am not 100% sure. I am sure you can connect though.
Reply With Quote
  #3  
Old 09-16-2005, 04:00 PM
Stevie
HostGator Guest
 
Posts: n/a
Cool Re: MySQL connections

Excellent news! It's so hard to find a host that allows direct connections without charging a fortune for it.
Reply With Quote
  #4  
Old 09-16-2005, 04:55 PM
Stevie
HostGator Guest
 
Posts: n/a
Question Re: MySQL connections

Oh, forgot to ask...does the same apply for the shared hosting plans?
Reply With Quote
  #5  
Old 09-17-2005, 09:56 AM
Pazeh Pazeh is offline
King Croc
 
Join Date: Jan 2005
Posts: 1,327
Default Re: MySQL connections

yup!! I have a shared hosting (baby croc) & I have access to the MySQL via port 3306!!

One thing you have to do from the CPanel first tho.

Go the the "MySQL Databases" & at the end of the page, give your IP the right to access the DB/s. You can use wildcards to if u have a dynamic IP.
Reply With Quote
  #6  
Old 09-20-2005, 05:49 PM
Serra's Avatar
Serra Serra is offline
Veteran Croc
 
Join Date: Feb 2005
Location: Orange Park, FL
Posts: 5,073
Default Re: MySQL connections

I connect with mySQL Control Panel directly, but you have to remember that the mySQL database has to be setup to allow direct access by IP address or IP range first.

The connection strings for PHP use localhost, not a domain or IP, so they don't need to be setup specfically, but you will not be able to access mySQL without setting the IP address for the machine that will connect. If you have an IP that may change, I suggest you use a one octet wildcard, like 127.0.0.*
Reply With Quote
  #7  
Old 09-21-2005, 10:05 AM
Stevie
HostGator Guest
 
Posts: n/a
Question Re: MySQL connections

Ok, that's all very helpful, thank you. One other thing...does hostgator offer port tunneling via SSH and PuTTY so that a secure connection to the database can be established?
Reply With Quote
  #8  
Old 09-21-2005, 12:32 PM
MachineDog MachineDog is offline
Royal Croc
 
Join Date: Jul 2005
Location: Somewhere in the everglades.
Posts: 513
Default Re: MySQL connections

No, SSH is not available due to security reasons.
__________________

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

All times are GMT -5. The time now is 05:44 PM.