icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » Connection Info

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old May 28th, 2008, 2:46 PM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jun 2003
11 posts
Gave thanks: 0
Thanked 0 times
Connection Info

I recently started using a program that needs to connect to an SQL database. I normally just use "localhost" but since this problem is run from my computer, DL info from a gaming server and uploading it to my website, it needs to connect to my DB. Any ideas on what I should use as my connection address?? Thanks in advance!
emsrescue20 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 28th, 2008, 3:05 PM   #2 (permalink)
URB4N 5K1LLZ
Super #1
 
Roxy's Avatar
 
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,656 posts
Gave thanks: 81
Thanked 128 times
So you need for a gaming server to connect your own server here? You can use the remote MySQL feature in cPanel. You just need the host name or wildcard number. If this is not what you mean, then I am not quite sure and would highly suggest submitting a ticket to the help desk. =)

http://desk.surpasshosting.com/
__________________
Roxanne


Urban Roxy -Personal Blog
SH63 - the best darn shared server!
Roxy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 28th, 2008, 8:09 PM   #3 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jun 2003
11 posts
Gave thanks: 0
Thanked 0 times
That's exactly what I was wondering, but the program is being generated from my local machine, not my gameserver, so we're on the right page, I just don't what domain to put.
emsrescue20 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 28th, 2008, 11:46 PM   #4 (permalink)
He shoots.. He scores!
Super #1
 
puckchaser's Avatar
 
Joined in Feb 2007
Lives in A room with no windows.
Hosted on SH110
1,442 posts
Gave thanks: 46
Thanked 140 times
Quote:
Originally Posted by emsrescue20 View Post
That's exactly what I was wondering, but the program is being generated from my local machine, not my gameserver, so we're on the right page, I just don't what domain to put.

in cPanel - you would need up to update remote SQL access with the IP of your home computer. Not sure of your IP (especially if you are NAT'd behind a router)? got to My IP is 66.7.194.148 - Quick and Easy way to SEE my IP address - CmyIP.com

Then, you need to set your local PC to use access your mySQL at your domain. Whatever domain your database is hosted on. Make sure you use the proper database name, username, password.

That should do it.
__________________
SH110
puckchaser is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On