I recently installed RadiPanel to my site in order to use it for a Radio DJ Panel.
I keep getting a persistent error that the MySQL information is incorrect. I have made a database over and over to try to accommodate to this error. Can anyone help?
Printable View
I recently installed RadiPanel to my site in order to use it for a Radio DJ Panel.
I keep getting a persistent error that the MySQL information is incorrect. I have made a database over and over to try to accommodate to this error. Can anyone help?
What is the exact error then?
How good with PHP are you? Maybe make a new PHP file like this to test your connection and get a proper error message.
PHP Code:<?php
// Generally just change the mysql_user and mysql_password
if (!$link) {
die('Not connected : ' . mysql_error());
}
// Change foo to whatever the database is. Radipanel?
$db_selected = mysql_select_db('foo', $link);
if (!$db_selected) {
die ('Can\'t use foo : ' . mysql_error());
}
?>
Okay.
use this
Create a new PHP file using whatever editor you use (maybe notepad will be simple enough for this). Change the words mysql_user and mysql_password to your MySQL details.
Log in to CPanel of FTP into your host and upload the file you just edited. Go to that page (yourhost.com/connect.php) and see what happens
Nevermind. I put it in a php file. Nothing has helped. Do you have a Skype?
Yes i guess so... @TrentW;