I found a thing my web host has, and it was actually pretty easy to create a new database, a new user, and grant permissions for the user to access the database.
database=leadwerk_gnet
user=leadwerk_gnet
Here is my connection code:
$conn = mysql_connect("localhost","leadwerk_gnet","<PASSWORD>") or die("Could not connect : " . mysql_error());
mysql_select_db("leadwerk_gnet") Or die("Could not select database");
The rest of the php file is unmodified.
I got past the 'could not connect' and 'could not select database' errors. But now I get this error:
database=leadwerk_gnet
user=leadwerk_gnet
Here is my connection code:
$conn = mysql_connect("localhost","leadwerk_gnet","<PASSWORD>") or die("Could not connect : " . mysql_error());
mysql_select_db("leadwerk_gnet") Or die("Could not select database");
The rest of the php file is unmodified.
I got past the 'could not connect' and 'could not select database' errors. But now I get this error: