pdafreeeker
IS-IT--Management
I have a RH Server running MySQL
I have my windows PC (I know, I know) at home where I write php scripts. I want to be able to test out the php scripts which access the mysql database on the server at work.
Lets say I know the IP address of the server is
68.98.216.100 (Running Mysql)
my home pc connects to the internet via cable modem
I can currently type at home and view all phpscripts however when I use the scripts to log into the database they do not connect to mysql server at work.
someone told me to try adding
-A RH-Lokit-0-50-INPUT -p tcp -m tcp --dport 3306 --syn -j ACCEPT
I tried this and I still cant' connect to MySQL
Here is a partial of the PHP script that connects to the database.
$result = @mysql_pconnect("68.98.216.100", "book_bc", "admin"
Can anyone help me?
THanks
I have my windows PC (I know, I know) at home where I write php scripts. I want to be able to test out the php scripts which access the mysql database on the server at work.
Lets say I know the IP address of the server is
68.98.216.100 (Running Mysql)
my home pc connects to the internet via cable modem
I can currently type at home and view all phpscripts however when I use the scripts to log into the database they do not connect to mysql server at work.
someone told me to try adding
-A RH-Lokit-0-50-INPUT -p tcp -m tcp --dport 3306 --syn -j ACCEPT
I tried this and I still cant' connect to MySQL
Here is a partial of the PHP script that connects to the database.
$result = @mysql_pconnect("68.98.216.100", "book_bc", "admin"
Can anyone help me?
THanks