cannot access mysql from PHP file
I am newbie to Linux world. I have installed Fedora 9.
Then installed Apache 2, Mysql, PHP. This is my first time to install servers on a linux environment. Everything done well. Apache server is up and running. I can run PHP files as well.
But problem is.. I created one connection to mysql using mysql_connect() function in my PHP code. I found no result. Neither I am getting die()'s message nor successfully connected message. I have installed mysql_administrater GUI tool too. I was checking user name and password through it. Its connecting like a charm.
I think some thing is missing in my settings,,, not sure what to do. Please any one help me.