Recently, PHP and MySQL were installed on our server, which runs on FreeBSD Unix virtual servers. although php and mysql are both functioning independently, i can't use php to connect to the database. As i m not too familiar with unix, this is causing a major problem for me. Can anyone help figure out where the problem may lay?
Are you recieving error messages?
Is MySQL running?
Is PHP compiled with MySQL support ( the default is yes, so I assume so... )
Are you sure you're using the right usernames and passwords?
What errors are you getting?