On Wed, 4 Jun 2003, ___cliff rayman___ wrote: > Ajay Sharma wrote: > > >I'm trying to connect to a mysql server on our local network from the > >colocated one. And the server is responding with that error "can't > >connect from www.sited.com". Which is correct, on the sql server we > > ok - i got the from server, the to server, and the to program. but > what is the from program?? I'm just using the mysql client program: mysql -h <sql_server> -u <username> -p <databasename> It prompts me for my password, and I get the error kicked back to me. > there is a program running on the colocated server that you are using > to connect to mysql, what is its name? apache, ssh, etc.. yeah, I'm just using the regular mysql client. if I wrote a php script and called 'mysql_connect(...)' then it would fail as well unless we allowed the user to connect from the alias (www.sited.com) and the real address (www.sitea.com). Which is weird. I shouldn't have to open up *all* the addresses for a server later, ajay -------------------------------------------------------------------- Satyajot (Ajay) Sharma ssharma@xxxxxxx --------------------------------------------------------------------