Page 1 of 1

Probelm in connecting php with Mysql

Posted: Sun Oct 30, 2005 10:53 pm
by arjun1980
Hello

I am getting problem in connecting php with mysql, I have checked all the connections in my db.inc file and have given the right host name , i wm using the localhost only with the apache web server. I have given all the connection in that with the user name and password and database name as the same which i have made in the database in mysql. , i think there is some problem when i made the database in mysql, i have used the root and then made a user with passowrd and then made the databse , but i am getting trouble in granting the user the powers to access the root, i have used the grant command with whole syntax, but then alsi it is not working. There is no error on the main page of web site but when i login the name with the password then it just show a blank page.

Posted: Sun Oct 30, 2005 11:38 pm
by Charles256
code?

Posted: Mon Oct 31, 2005 1:03 am
by n00b Saibot
always add :arrow: error_reporting(E_ALL); on top when developing... and I think the problem is with the code or as you say in setting up the GRANT priviledges.