Problem with the MySQL server

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Problem with the MySQL server
DareDoo
CZ Newbie
DareDoo has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Nov 29, 2004
0.00 posts per day
Posts: 27
Points: 2,066
   
Ok I'm pretty sure i know the poblem. I was trying to do something with the user block v3. Add something into the config.php file. My user block got crazy with retarded writing. So i delted it, still stayed. So I over writed it with the config.php file i got from phpnuke.org. that was my first mistake. i then got an error about the db files. so i overwrote all of them and all of the root files. footer,header, all of those. So i get There seems to be a problem with the MySQL server, sorry for the inconvenience.

We should be back shortly.
[ Register or login to view links on this board. ] thats my site if ya wanna check it out. I'm pretty sure i just have to add my database info into some files so they will get back together again. im wondering what files are those? and what info would i need.



Back to top Reply with quote
#2   re: Problem with the MySQL server
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
You need to edit the config.php file and insert your database info. You will see these instructions on the top of the config file:

# dbpass:       SQL Password
# dbname:       SQL Database Name
# $prefix:      Your Database table's prefix
# $user_prefix: Your Users' Database table's prefix (To share it)
# $dbtype:      Your Database Server type. Supported servers are:
#               MySQL, mysql4, postgres, mssql, oracle, msaccess,
#               db2 and mssql-odbc
#               Be sure to write it exactly as above, case SeNsItIvE!
# $sitekey:        Security Key. CHANGE it to whatever you want, as long
#               as you want. Just don't use quotes.
# $gfx_chk:        Set the graphic security code on every login screen,
#                You need to have GD extension installed:
#                0: No check
#                1: Administrators login only
#                2: Users login only
#                3: New users registration only
#                4: Both, users login and new users registration only
#                5: Administrators and users login only
#                6: Administrators and new users registration only
#                7: Everywhere on all login options (Admins and Users)
#                NOTE: If you aren't sure set this value to 0
# $subscription_url : If you manage subscriptions on your site, you
#                     must write here the url of the subscription
#                     information/renewal page. This will send by
#                     email if set.
######################################################################


and this under that:

$dbhost = "localhost";
$dbuname = "YOURDATABASEUSERNAME";
$dbpass = "DATABASEPASSWORD";
$dbname = "DATABASENAME_nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "SdFk*fa28367-dm56w69.3a2fDS+e9";
$gfx_chk = 0;
$subscription_url = "";


These are just examples of course, fill in your info where needed with your real info. Then upload into the root directory.


Back to top Reply with quote
#3   re: Problem with the MySQL server
DareDoo
CZ Newbie
DareDoo has been a member for over 19 year's 19 Year Member
Status: Offline
Joined: Nov 29, 2004
0.00 posts per day
Posts: 27
Points: 2,066
   
thank you very much. would that be it. is that the only file i need to edit?



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum