[DLE] Where does it keep MySQL connection details (user, pass, db) ?

Status
Not open for further replies.

ThumperTM

Active Member
1,823
2011
351
60
Hello,

I've bought a site with DLE and I am restoring it. I need to know where the MySQL details are.

Anyone knows?

Thanks.
 
3 comments
edit dbconfig.php :
PHP:
<?PHP

define ("DBHOST", "localhost"); 

define ("DBNAME", "Your DB name");

define ("DBUSER", "Your DB username");

define ("DBPASS", "Your DB password");  

define ("PREFIX", "dle"); 

define ("COLLATE", "cp1251"); 

define ("USERPREFIX", "dle"); 

$db = new db;
 
?>
 
Old thread but helped alot. One my client asked me to move a DLE based website and I was searching for the config file related to database. WJunction helped again.
 
Status
Not open for further replies.
Back
Top