Basic Help for mysql_connect
Posted: Wed Jan 13, 2010 6:14 am
hello ,
i am looking for some to help me with this basic php function to connect with MySQL.
as i am new to php programming , i had tried to connect my php page with MySQL with mysql_connect function.but the browser says like this" HTTP 500 Internal server Error".I am using IIS on XP os. can any one explain me about this?
---->mysql_connect("host","username","passoword")
--->what is host??
--->what is the username??
--->what is the password??
when i have installed MySQL(5.0) it only asked me for password.it doesn't ask me about any user name.
i am looking for some to help me with this basic php function to connect with MySQL.
as i am new to php programming , i had tried to connect my php page with MySQL with mysql_connect function.but the browser says like this" HTTP 500 Internal server Error".I am using IIS on XP os. can any one explain me about this?
---->mysql_connect("host","username","passoword")
--->what is host??
--->what is the username??
--->what is the password??
when i have installed MySQL(5.0) it only asked me for password.it doesn't ask me about any user name.