![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Professional Programmer
|
Databases
Hello, I am currently making a IM client like msn and yahoo for a program caled ares. I need it to look at a online MySQL database to see if the the username and password either exists and/or match eahc other. I have no idea how to do this becasue my Vb book only says how to connect to a "localhost" database. Please Help./ Thank You
|
|
|
|
|
|
#2 |
|
Programming Guru
![]() ![]() |
where it says localhost, put in ether the host name, or the ip of the box that you want to connect to.
Examples: mysql.myhost.com 215.789.294.2 Note both those won't go anywhere. You'll need to find out your values from teh place that is hosting your mysql db.
__________________
Profanity is the one language that all programmers understand. Check out my Blog <---updated Nov 30 2007! |
|
|
|
|
|
#3 |
|
Programming Guru
![]() ![]() ![]() |
if you have access to the host, get the IP this way.
windows = ipconfig linux = /sbin/ifconfig (if* not ip*)
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#4 |
|
Expert Programmer
|
Except you might want to wrap / forward the port in some way (e.g. ssh) as exposing any interactive system directly to the web is baaad
![]() |
|
|
|
|
|
#5 |
|
Programming Guru
![]() ![]() |
Heh, not sure about mysql, but postgresql does have the ability to do it through ssl. Might want to look into that if you want something like Rory suggested.
__________________
Profanity is the one language that all programmers understand. Check out my Blog <---updated Nov 30 2007! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|