Can't Connect To MySQL Database

Status
Not open for further replies.

pgreviews12

New Member
Messages
7
Reaction score
0
Points
0
Hey guys,

I can't seem to connect to the database I set up in cPanel. I used PhpMyAdmin to create all the tables and such and it should work, but it doesn't. For example, I have the following information in my config.php file:

Code:
$DBname = "jaxo_msc"; //Database's name
$DBlocation = "localhost"; //What server
$DBusername = "jaxo_connect"; //Your username
$DBpassword = "********"; //Your password (Actually is correct)

I know the config file is set up correctly because I have this same database structure and config file running somewhere else, except with different content. I basically copied the files over. I just don't know if the fields are set up correctly. If an admin could go in and see exactly what my password is and such that would be great :) (Unless it's hashed :()

But I get a bunch of errors saying:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource.

?

And when I try to click around the site I always get an error 404, file not found, but I know the file is there because I can see it in the File Manager and my FTP (gFTP) program.

What's going on?

Thanks :)

-Jaxo
 
Last edited:
Status
Not open for further replies.
Top