FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » Where is the db connection created
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Where is the db connection created [message #32944] Fri, 04 August 2006 23:27 Go to next message
meshe is currently offline  meshe   Canada
Messages: 5
Registered: May 2006
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
I'm having an issue backing up my FUD forum version 2.7.4, I've traced the issue down to being an issue with the mysql server's interactive_timout being way too short. I can easily fix this by setting the variable to a higher value immediately after creating the database connection, which I did in upgrade.php the last upgrade I did.

Now it's taking too long to back up and the timeout is being hit there.

Where is the database connection created when the $forumdir/adm/admdump.php script is called?

It's not readily apparent in that script. I could go hunting for it, but I was hoping one of the developers would know off hand.

Thanks,
meshe
Re: Where is the db connection created [message #32948 is a reply to message #32944] Sat, 05 August 2006 09:32 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
The connection is established inside db.inc which can be found inside the include/theme/default directory

FUDforum Core Developer
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Usability suggestions for 2.7.5 and beyond
Next Topic: Time Zone field too wide on settings page
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Oct 23 11:27:21 EDT 2017

Total time taken to generate the page: 0.00552 seconds