Help with MySQL, can't find location

Status
Not open for further replies.

bitcoi35

New Member
Messages
3
Reaction score
0
Points
1
Hey all,

Would really appreciate some help with finding this info. First time making a site and can't find and don't really know how to set some stuff up. I recently started hosting with the free option. The code I am using looks like this:

$dbhost = "localhost";
$dbuser = "test_faucet";
$dbpass = "test_pass";
$dbname = "test_faucet";
$display_errors = false;
$disable_admin_panel = false;

I made a MYSQL database to use with it but can not find any host, user, pass, or name parameters on cPanel (I tried going into X3 and going under the MySQL databases link but the only columns which are shown there are database name and user). Where can I find the info I need? Any help would be much appreciated.

Thanks,
Dan
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi Dan,

Your MySQL host is "localhost", and your database username, password and name are the same as the ones you have already created in cPanel. Both your MySQL username and database name are prefixed with your cPanel username followed by an underscore, which is "bitcoi35_". ;)

Thank you,
 

bdistler

Well-Known Member
Prime Account
Messages
3,534
Reaction score
196
Points
63

bitcoi35

New Member
Messages
3
Reaction score
0
Points
1
Thanks guys, I updated all the info but now when I attempt to open up my webpage I get a "500 server error", any ideas as to why?
 

bitcoi35

New Member
Messages
3
Reaction score
0
Points
1
I deleted the default files in public_html by accident. Could that be why I keep getting the 500 error?
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi,

Your script (at /public_html/index.php) is ending without sending any data, which is why you are seeing that. ;)

Thank you,
 
Status
Not open for further replies.
Top