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 :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Where is the db connection created [message #32944] Sat, 05 August 2006 03:27 Go to next message
meshe is currently offline  meshe   Canada
Messages: 5
Registered: May 2006
Karma: 0
Junior Member
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 13:32 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The connection is established inside db.inc which can be found inside the include/theme/default directory

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Fri Sep 20 11:49:22 GMT 2024

Total time taken to generate the page: 0.02523 seconds