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

Notices

Reply
 
Thread Tools
  #1  
Old 10-13-2009, 09:04 AM
vanroojdotcom vanroojdotcom is offline
Hatchling Croc
 
Join Date: Oct 2009
Posts: 2
Default MySQL iP access

I've got a client who needs to access a MySQL Database from a remote application based on their computer. I would expect to know these fields:

Host:
Username:
Password:
database:

And then the application would interact with the database. Is this possible?
Reply With Quote
  #2  
Old 10-13-2009, 09:35 AM
striddy's Avatar
striddy striddy is offline
Veteran Croc
 
Join Date: Mar 2008
Location: /home/australia/earth
Posts: 4,093
Default Re: MySQL iP access

Quote:
Originally Posted by vanroojdotcom View Post
I've got a client who needs to access a MySQL Database from a remote application based on their computer. I would expect to know these fields:

Host:
Username:
Password:
database:

And then the application would interact with the database. Is this possible?
Yes this can be done.
__________________
- David
Reply With Quote
  #3  
Old 10-13-2009, 10:06 AM
GvilleRick's Avatar
GvilleRick GvilleRick is offline
Emperor Croc
 
Join Date: Jan 2007
Location: Greenville, SC
Posts: 3,130
Default Re: MySQL iP access

It is possible but you also have to add either the client's IP to the Access Hosts section in the MySQL options of cPanel or add a wildcard to allow remote access.
Reply With Quote
  #4  
Old 10-13-2009, 11:11 AM
RainbowViper's Avatar
RainbowViper RainbowViper is offline
King Croc
 
Join Date: Mar 2008
Location: St Paul MN
Posts: 814
Default Re: MySQL iP access

And it's likely already done, but make sure the port for remote access is open as well.
__________________
In ancient Rome, the word "Actor" meant "Prostitute". Mankind seems to have forgotten this.
Reply With Quote
  #5  
Old 10-13-2009, 01:07 PM
GatorDDaniels
HostGator Guest
 
Posts: n/a
Default Re: MySQL iP access

Quote:
Originally Posted by vanroojdotcom View Post
I've got a client who needs to access a MySQL Database from a remote application based on their computer. I would expect to know these fields:

Host:
Username:
Password:
database:

And then the application would interact with the database. Is this possible?

Hello vanroojdotcom,

This can be done. First you will need to add your clients IP address into your cPanel using the Remote mySQL Icon.

Your Host will be your shared IP address of the server that you are on, username and password will be specified within your MySQL Databases icon in which you will assign to the Database.

The mySQL port number that will be used will be port: 3306.

If you have any questions, issues, or concerns, feel free to contact us via support email, Live Chat or toll free number.
Reply With Quote
  #6  
Old 10-14-2009, 02:11 AM
vanroojdotcom vanroojdotcom is offline
Hatchling Croc
 
Join Date: Oct 2009
Posts: 2
Default Re: MySQL iP access

OK that's excellent. Thanks for the response.
Reply With Quote
  #7  
Old 10-15-2009, 07:26 AM
alemcherry alemcherry is offline
Swamp Croc
 
Join Date: Mar 2008
Posts: 211
Default Re: MySQL iP access

Something new for me, I didn;t know that it can be done from cPanel. Used to edit the mysql config file on dedicated server, but my impression was that since it is not possible on shared server, such facility is not available.
Reply With Quote
  #8  
Old 10-15-2009, 12:49 PM
GvilleRick's Avatar
GvilleRick GvilleRick is offline
Emperor Croc
 
Join Date: Jan 2007
Location: Greenville, SC
Posts: 3,130
Default Re: MySQL iP access

Quote:
Originally Posted by alemcherry View Post
Something new for me, I didn;t know that it can be done from cPanel. Used to edit the mysql config file on dedicated server, but my impression was that since it is not possible on shared server, such facility is not available.
It has been available on cPanel for quite some time but I believe the location in cPanel has changed from time to time.
Reply With Quote
  #9  
Old 03-20-2011, 04:18 PM
paleopterix paleopterix is offline
Hatchling Croc
 
Join Date: Mar 2011
Posts: 1
Angry Re: MySQL iP access

Remote access to mySql? Is this a joke? I have set up my IP in the cPanel and it lets me login using the mysql.exe client, but when I try to connect to my database, it says "access denied for the user......". So, what is this? What's the use to be able to login if you don't have access to the database???

Another thing: somewhere in your website it says you allow creating and executing stored procedures in mysql. Yes, that is correct, but only the main database administrator (user) has the right to execute. And it cannot grant execution priviledge to a more restricted user. What kind of security is this if you are forcing us to use the admin to connect to the database in our website?

And another thing: the damn contact form in the cPanel isn't working. After writing the message, I click ok and I get "sorry, your email cannot be sent. try again later". How many times should one try? I tried 5 times. This is another joke from this joke host of yours.

The support is lousy, by the way, after trying to explain the problem, I get a "ticket number" and a "have a nice day". What was I supoosed to do with that number?

I'm sorry the decision doesn't belong to me (I'm just a programmer) but If I were the owner of the domain, I would start searching for another hosting right away.
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
Connecting to MySQL through MS Access Leoing Shared Hosting Support 2 06-10-2009 05:30 AM
MySQL Access sclg Pre-Sales Questions 4 01-31-2006 04:14 PM
Can I use MySQL-Front to access my MySQL DB? rprins Pre-Sales Questions 4 03-16-2004 06:23 PM

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