Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connecting to a remote host

Status
Not open for further replies.

MrBelfry

IS-IT--Management
May 21, 2003
289
Hey there

I'm sure this is a question that will have come up before but the tek-tips search engine seems to be slightly messed up at the minute so I'm asking it again!

I'm developing a PHP script to update a table on a remote machine. I can connect easy enough but only if I add the % wildcard as a host - to my mind this makes things less secure. How can I get mysql to accept connections from my machine bearing in mind i'm on dial up

Thanks

MrBelfry
 
If you're coming in through dialup, then your IP address is dynamically assigned. As such, you can't lock down your login to a single IP address.

The best you can do is to find out what range of IP addresses your ISP is assigning to dialup, and set the host for that user to a limited wildcard which spans that range.


Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Forgive me for being stupid

I tried a variation of that technique but may have been doing things wrong. Here is what I tried to accept wildcard entries when the user was me
Code:
my_name@%

This didn't seem to work can anyone point me in the right direction

MrBelfry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top