How do I upload a PHP website to a godaddy hosting server?

viintageecstasy

New member
I made a PHP website with XAMPP, MySQL, and Dreamweaver and am trying to upload it to godaddy through the FTP client in Internet Explorer. I use this FTP client for my HTML websites. I have never upload a PHP website before and its not working. I get this error when I visit the index.php of the website:

Warning: mysql_pconnect(): Unknown MySQL server host '127.0.0.1/mdcphc' (1) in /home/content/m/d/c/mdcphotoclub/html/Connections/connPhotoClub.php on line 9

Fatal error: Unknown MySQL server host '127.0.0.1/mdcphc' (1) in /home/content/m/d/c/mdcphotoclub/html/Connections/connPhotoClub.php on line 9


Any ideas? Do I have to upgrade my GoDaddy hosting service? Or do I have to change an IP address? If yes, what IP address do I use?
 
Well you need to create a mySQL table, or even database, your file: mysql_pconnect() is trying to access this database, and table but it doesn't exist. You need to create it.

Login in to the CPanel and find, MySQL Databases, and even PHPmyAdmin to insert the values.


Cheers,

Nick
 
.. no help sorry with my last response , sorry

127.0.0.1 is a loop back address meaning your machine not the godaddy server

i have a godayyweb site not a good one but its hosted there and i use the one thats on the site.

my sql databases.

to the post below

25 emails accounts
25 databases
$7 a month its more than enough no extra subscriptions just working the site is the problem.
 
Back
Top