Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Multiple database usernames possible?!?  (Read 2306 times)

0 Members and 1 Guest are viewing this topic.

jagwriter78

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Multiple database usernames possible?!?
« on: August 02, 2007, 01:30:20 pm »

Hi, I was wondering if it possible to set up the database username as an array so each time the gallery loads, it chooses from a list of usernames to use to connect to the database? My host is limiting hourly connections per username to the database and I am getting critically close to that with my gallery at the moment. I tried to use a simple array function like array("username1", "username2") instead of the actual db username, but coppermine didn't like that. If anyone could tell me a work around, I'd be really greatful.
Logged

Nibbler

  • Guest
Re: Multiple database usernames possible?!?
« Reply #1 on: August 02, 2007, 03:32:43 pm »

Discussed in http://forum.coppermine-gallery.net/index.php?topic=28455.0

Use Stramm's code on the second page.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.