can't connect to database after modifing port from 80 to 8080
Posted by: imt (---.tpgi.com.au)
Date: August 09, 2008 10:54AM

hi i'm having problem connecting to my db after modifing port from 80 to 8080 for wamp. no error come up but just can't connect using the same php code i used before the modification.

this is the php code i used before i modified my port from 80 to 8080.


<?PHP
// this is db_connection.inc and hold details to connect to the //database
$connect_name = mysql_connect("localhost","root","test"winking smiley;
mysql_select_db("fruit",$connect_name);
?>


thanks

Options: ReplyQuote
Re: can't connect to database after modifing port from 80 to 8080
Posted by: imt (---.tpgi.com.au)
Date: August 09, 2008 11:05AM

oh and i can connect to myphpadmin, local host/mysql with "localhost:8080"

Options: ReplyQuote


Sorry, only registered users may post in this forum.