Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 17-10-2006, 09:26 PM   #1 (permalink)
Apprentice
 
gursimran_2006's Avatar
 
Join Date: Sep 2006
Location: In ur Dreams
Posts: 92
Red face MySQL Problem!!!


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!!!
__________________
Friends, Plzzz Visit my website
http://www.gursimran.c-o.in/
add ur link to my Database and signup it is Free!
Plzzz do not forget click on Advertisements, coz i need $$
Cheers,
Gursimran.
gursimran_2006 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 18-10-2006, 11:24 AM   #2 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default Re: MySQL Problem!!!

$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
tuxfan is offline  
Old 18-10-2006, 02:17 PM   #3 (permalink)
Apprentice
 
gursimran_2006's Avatar
 
Join Date: Sep 2006
Location: In ur Dreams
Posts: 92
Default Re: MySQL Problem!!!

thank you very much
__________________
Friends, Plzzz Visit my website
http://www.gursimran.c-o.in/
add ur link to my Database and signup it is Free!
Plzzz do not forget click on Advertisements, coz i need $$
Cheers,
Gursimran.
gursimran_2006 is offline  
Old 18-10-2006, 04:46 PM   #4 (permalink)
Human Spambot
 
tuxfan's Avatar
 
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
Default Re: MySQL Problem!!!

You are welcome
__________________
:: Free hosting and free domain names available in special cases. Conditions apply ::
tuxfan is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by Krow
- by abhidev
- by topgear

Advertisement




All times are GMT +5.5. The time now is 07:25 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2