by Mahesh -.
Hi Omno
It would be really nice if you could elaborate the steps more precisely. I couldn't really follow your instruction (that you explained in 3 steps). I am sure I stuffed with with your instruction 1 (replicate the lines with the dtabase settings...). What I did was I copied and appended following lines in my config.php as below:
$CFG->dbname = 'second_db';
$CFG->dbuser = 'root';
$CFG->dbpass = '';
$CFG->prefix = 'sec_';
When I ran my site, it rather installed the site on top of current site and added all the tables with prefix 'sec_' in my existing moodle db.
Can you please help?
Also where do I put the example code that you wrote? Is there any specific lib file to write or hack?
Many thanks.