View Full Version : [URGENT] RadiPanel Help!
TrentW
17-02-2014, 07:41 PM
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?
Blinger
17-02-2014, 07:43 PM
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?
You've set details correctly, right? The MySQL username/password and database etc..
TrentW
17-02-2014, 07:44 PM
@Blinger I believe so.
- - - Updated - - -
You've set details correctly, right? The MySQL username/password and database etc..
I believe so. *
Blinger
17-02-2014, 07:49 PM
What is the exact error then?
TrentW
17-02-2014, 07:51 PM
What is the exact error then?
Error
Your MySQL server information seems to be invalid. ........
Blinger
17-02-2014, 07:53 PM
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
// 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());
}
?>
TrentW
17-02-2014, 07:57 PM
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
// 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());
}
?>
I'm embarassed to say I don't even know where to enter that.. haha. Command line?
Blinger
17-02-2014, 08:02 PM
I'm embarassed to say I don't even know where to enter that.. haha. Command line?
Okay.
use this
<?php
// Change the user and password
$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');
if (!$link) {
die('Not connected : ' . mysql_error());
}
// Change the database to your one
$db_selected = mysql_select_db('radipanel', $link);
if (!$db_selected) {
die ('Can\'t use foo : ' . mysql_error());
}
?>
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
TrentW
17-02-2014, 08:02 PM
Nevermind. I put it in a php file. Nothing has helped. Do you have a Skype?
Blinger
17-02-2014, 08:07 PM
Yes i guess so... TrentW;
TrentW
17-02-2014, 08:10 PM
Alright add me: iPacklet
Kentoz
17-02-2014, 09:49 PM
It's likely you have a bugged/out-dated version of radipanel. Try downloading a fresh copy.
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.