Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Use same users from another msql database  (Read 3055 times)

0 Members and 1 Guest are viewing this topic.

mauro

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Use same users from another msql database
« on: November 20, 2003, 02:31:13 am »

Hello, i have a Question and i hope someone can help on this.

I have two databases on my domain. 1.- xxx and 2.- xxxfotos (where coppermine is)
on 1.- xxx i have some users where the information is stored on "account" and has fields user_name and user_password within others.

what i want is use this same user from xxx in xxxfotos.

Any help is really appreciated.

  Gracias.

  Mauro
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
Use same users from another msql database
« Reply #1 on: November 20, 2003, 02:34:44 am »

merge the 2 databases into 1
edit Coppermine login etc. in PHP to use the other table
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

mauro

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Use same users from another msql database
« Reply #2 on: November 20, 2003, 03:05:53 am »

Thanks for your reply but i really need more easy to understand directions. Also can i acomplish this without merging the databases?

  Thanks.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Use same users from another msql database
« Reply #3 on: November 20, 2003, 07:18:05 am »

there's no simple cut'n paste solution for this, you have to understand how it works or you won't achieve your goal.
You could also try fiddling with the bridge files that come with coppermine to use the other database's user info, but this requires some knowledge as well.

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.