I recently bought a piece of software and am having a hard time installing it. The instructions tell me to:
1.create a database on my server(I have cpanel)
2.create a user
3.Enter this information in dbsetup.php file
4.Create a directory and ftp the files in the public_html folder
5.Chmod severl php files
6.Open my browser and I should see various tables on the screen.
My probelems:
1.This error message shows up on MySql database:
PHP $dbh=mysql_connect ("localhost", "", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("");
2.When I open my browser, I receive the:
500 Internal Server Error and a 404 Not Found error
Also, when editing the dbsetup.php file, what should go into the "host" field?

Sorry for the length

host should be where your database server is located; if it is on the same box as apache/php then set host to 'localhost', if its elsewhere use the IP address of the database server.

May also be worth reading this.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.