NYCPHP Meetup

NYPHP.org

[nycphp-talk] different sites, one database

Henry Ponce henry at beewh.com
Wed Jul 13 13:34:27 EDT 2005


Ok worked the other way around. i can connect from chess.ac to any other site 
in database just with "localhost".

look: www.chess.ac/mysql_test.php

This connects to www.calchess.org database correctly from chess.ac script.

But I can't connect from any other site to chess.ac. I checked user table in 
mysql database and there is a row that has:

Host: 127.0.0.1
User: chess_ac

This will not let me connect to chess.ac from another site right? no other 
sites have this. Can i delete that row, without affecting database access?

There is another row:
Host: localhost
User: chess_ac

I should leave only that?

Thank you all for your help.
Henry



More information about the talk mailing list