yami007 Posted March 2, 2009 Share Posted March 2, 2009 i just finsihed uploading my website and i got this problem, i dont know what to write instead of localhost, i searched all the cpanel but got no clue <?php $dbhost = "localhost"; $dbname = "music"; $dbuser = "PLAYer"; $dbpass = "portgas"; ?> please help Link to comment https://forums.phpfreaks.com/topic/147643-solved-server-name/ Share on other sites More sharing options...
trq Posted March 2, 2009 Share Posted March 2, 2009 Have you actually tried using localhost? Link to comment https://forums.phpfreaks.com/topic/147643-solved-server-name/#findComment-775074 Share on other sites More sharing options...
yami007 Posted March 2, 2009 Author Share Posted March 2, 2009 Have you actually tried using localhost? yes i did Link to comment https://forums.phpfreaks.com/topic/147643-solved-server-name/#findComment-775077 Share on other sites More sharing options...
trq Posted March 2, 2009 Share Posted March 2, 2009 Your going to need to contact your hosting company then, they must host the db server on a different machine. Link to comment https://forums.phpfreaks.com/topic/147643-solved-server-name/#findComment-775085 Share on other sites More sharing options...
yami007 Posted March 3, 2009 Author Share Posted March 3, 2009 oh thanks thorpe, i was little sleepy it wasnt the problem of the server name, it was the db and the user names thanks again.. Link to comment https://forums.phpfreaks.com/topic/147643-solved-server-name/#findComment-775171 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.