Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
databse remote connection
Old 07-24-2006, 07:35 PM databse remote connection
Average Talker

Posts: 18
Trades: 0
hello.

how do i remotely connect to a database. if its "inside" the server its localhost. how do you do it "outside" the server.

i need something like: localhost/databasename

but its not localhost. also, whats the file extension for the database name? its in mysql.

sorry if i repeated myself.
agcaparroso is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-25-2006, 02:45 PM Re: databse remote connection
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,898
Name: Keith Marshall
Location: Connecticut
Trades: 0
You do this at the connection sequence using the domain and port number of the mySQL connection. This will only work if the other server and myDQL engine is setup to allow remote access.

mysql_connect('http://www.domain.com:3306', 'username', 'password');
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to databse remote connection
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20245 seconds with 12 queries