- Joined
- Sep 1, 2006
- Messages
- 76
- Reaction score
- 0
I have seen a lot of people doing this so heres a thread clearing this up. The following is a piece of the default config.php in the _inc folder of elements roseonlineCMS 3.2 lite:
When configuring this file, it should look very similar to this:
Everything on the left side of the screen should stay the same. The only things that need to be added are between the apostrophes. i.e. 'root' or 'localhost'
The password should be changed to yours. If you never set a password, it should be left blank. i.e. ''; // Database User
This will likely go in a guide I will make myself, but I also give permission for others to use this, credit is nice but not necessary.
Code:
<?php
// Database
$cms['db']['host'] = ''; // Database Host
$cms['db']['user'] = ''; // Database User
$cms['db']['pass'] = ''; // Database Pass
$cms['db']['name'] = ''; // Database Name
// Site
... ... ...
Code:
<?php
// Database
$cms['db']['host'] = 'localhost'; // Database Host
$cms['db']['user'] = 'root'; // Database User
$cms['db']['pass'] = 'PaSsWoRd123'; // Database Pass
$cms['db']['name'] = 'roseon'; // Database Name
// Site
... ... ...
The password should be changed to yours. If you never set a password, it should be left blank. i.e. ''; // Database User
This will likely go in a guide I will make myself, but I also give permission for others to use this, credit is nice but not necessary.