Page 1 of 1

connecting to remote mysql server

Posted: Tue May 27, 2003 11:22 am
by waskelton4
hey group...

a buddy of mine just migrated all of our web pages from the windows box that they were being hosted on to a linux machine.. clark connect i think is the name of the distro.. we are using php and mysql on the sites..

the windows box will continue to be used as the mysql server.. but we are letting the new linux box take care of webhosting with php...

i've changed the host address in one of my scripts to the mysql server ip and i've made sure that the mysql user can accept hosts of %.

i'm getting a fatal error:

Fatal error: Call to undefined function: mysql_connect() in

do i need to somehow point php to the mysql server by more than simply using the ip in the script?

any help is greatly appreciated..

Thanks
Will

Posted: Tue May 27, 2003 12:46 pm
by liljester
Fatal error: Call to undefined function: mysql_connect()
i dont think that error has anything to do with not being able to connect, that looks like more of a php configuration error... are you sure the mysql module is loading?