Status
Not open for further replies.

gursimran_2006

Broken In
I am creating Site with PHP Nuke. the problem is with editing the config.php file.
Here is da default settings:
$dbhost="localhost';
$dbuname="root';
$dbpass="";
$dbname="nuke';
$dbhost="localhost'.


Please Help me to edit this file!!!
 

tuxfan

Technomancer
$dbhost is defined twice, so remove one at the bottom (because it anyway misses the ; and so will give an error).

What hosting control panel do you have?

You will have to follow the following steps:
  1. Create a MySQL database. No need to specify any tables, etc. php nuke installation script will take care of it ;)
  2. Create a MySQL user with a password.
  3. Grant "ALL" permissions to the user over that MySQL database.
  4. Specify the username in $dbuname
  5. Specify the password of that user in $dbpass
  6. Specify the name of the database in $dbname
  7. Leave $dbhost as it is. Of course, if your DB is not in your hosting account and is somewhere else, you will have to specify this. But its very unlikely to be that way.
For the first 3 steps, you will have to login to your control panel. It is pretty simple but if you have not done it before then it may look a little confusing. But you can't go wrong ;)
 
Status
Not open for further replies.
Top Bottom