Results 1 to 5 of 5
Oct 11, 2003, 15:13 #1
- Join Date
- Oct 2003
- 0 Post(s)
- 0 Thread(s)
connect to remote mysql server using a Php script
My Php script runs on my university campus server.
And I have installed mysql on my local machine.
The following statement doesn't establish a connection
$dbcnx = @mysql_connect("ipaddress", "root", "mypassword");
ipaddress is the address of the machine which has mysql installed.
Do I need to have additional permissions for accessing the mysql database on my machine from the php script.
The book Datasbase Driven Website using Php and MySql ran me smooth until here.
I appreciate any help.