I'm sorry after re-reading the correct answer would be this:
The hostname(ip address) of the mysql box is whatever you telnet too, if
indeed you get those weird characters when you 'telnet localhost 3306'. 
For instance if you telnet to 192.168.0.1, that is the mysql server address.
If you telnet to 'server1.myisp.com' or 'server1' that is the address.
The hostname and ip address are very much interchangeable, though as a
general rule of thumb, ip address is more reliable.
Dan


-----Original Message-----
From: Dan Vande More [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, March 05, 2002 8:13 PM
To: [EMAIL PROTECTED]
Subject: RE: Re: [PHP] Help with MySQL.

For one of my servers I get " 3.23.34-log3REu?zk*+;,"
And another I get " 4.0.1-alpha,ZaXs]W{,"
That means that is most certainly running on it, if not you would get
something like "Telnet: Unable to connect to remote host: Connection
refused"
Be warned, if your isp does not know anything about their mysql server, they
may not know the password.
Dan

-----Original Message-----
From: GENESiS DESiGNS [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, March 05, 2002 8:12 PM
To: [EMAIL PROTECTED]
Subject: Re: Re: [PHP] Help with MySQL.

Dan,

What do you mean by :

If you get some weird characters(most likely the version and some other
chars) then the server is itself, is the mysql host.

Because thats what happens. Thanks,

-GENESiS DESiGNS
-Sean Kennedy 
-http://www.gdesigns.vcn.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to