TorrentFlux on CentOS Problem...

Status
Not open for further replies.

XXX22

Banned
Banned
112
2011
8
0
Hello, Iam trying to install torrentflux on CentOS, I follow this turorial -> http://www.wjunction.com/showthread.php?t=8138

I did everything ok and no problem, but In the last step, "connecting to torrentflux" in "http://"IP"/torrentflux/" I get this error... Can anyone help me ??

"TorrentFlux Database/SQL Error Database error: Access denied for user 'root'@'localhost' (using password: NO)

Always check your database variables in the config.php file."
 
7 comments
Have you created a database and imported the sql file needed for Flux to run?

do you have any control panel installed on the server? if so feel free to contact me and i can install for you for free.

I use to run my own torrentflux site so i have vast experiance in this :)
 
You have to create a database for flux.after that a user with full priviledges.and i believe you have to add the user/pass to config file of database..haven't installed ever the flux..i believe so its that way.

Code:
* NOW WE HAVE TO EDIT TORRENTFLUX CONFIG TO AND FILL DB DETAILS
     Code:
     nano /var/www/html/torrentflux/config.php 
IT WILL OPEN THE BELOW THING 
     Code:
     /**************************************************************************/
// YOUR DATABASE CONNECTION INFORMATION
/**************************************************************************/
// Check the adodb/drivers/ directory for support for your database
// you may choose from many (mysql is the default)
$cfg["db_type"] = "mysql";     // mysql, postgres7, postgres8 view adodb/drivers/
$cfg["db_host"] = "localhost";   // DB host computer name or IP
$cfg["db_name"] = "torrentflux"; // Name of the Database
$cfg["db_user"] = "root";        // username for your MySQL database
$cfg["db_pass"] = "YOUR PASS";    // password for database
/**************************************************************************/ 
*EDIT IT TO YOU DB CONFIG 
press control+x
then it asks weather to save the edited data or not..press Y

For security reasons 
     Code:
     chmod -R 755 /var/www/
chown -R apache.apache /var/www/
Something you did wrong here in the details
 
Its basically saying it cannot connect to your database. BTW, you should never run the database using the user root. yu should always create a secondary user

if you need further help please feel free to pm me :)
 
Status
Not open for further replies.
Back
Top