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 Quote 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? Quote 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 Quote 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. Quote 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.. Quote Link to comment https://forums.phpfreaks.com/topic/147643-solved-server-name/#findComment-775171 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.