MAIN_DB_PREFIX constant

Hi

How can I know what is the MAIN_DB_PREFIX ??

I search and found this,

$conf->db->type   = $dolibarr_main_db_type;
if (empty($dolibarr_main_db_prefix)) $dolibarr_main_db_prefix='llx_';
$conf->db->prefix = $dolibarr_main_db_prefix;

// Define prefix
if (isset($_SERVER["LLX_DBNAME"])) $dolibarr_main_db_prefix=$_SERVER["LLX_DBNAME"];
define('MAIN_DB_PREFIX',$dolibarr_main_db_prefix);

but I still dont know what is de bd name in any php

can you help me please ?

MAIN_DB_PREFIX is “llx_”
It is the prefix of tables in databases

Just for interest, what does “llx” mean/stand for? I assume it is french for something?

llx is the contracted form for Lolix (the name of the website for which Dolibarr has been developed at the beginning by original project contributor Rodolphe Quiédeville).

1 Like

Thanks @jtraulle, should have been put in the wiki ?