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: MySQL Database link  (Read 4981 times)

0 Members and 1 Guest are viewing this topic.

ajl2chat2u

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
MySQL Database link
« on: June 28, 2007, 08:50:45 am »

I somehow had a problem with logging in as admin. I did a re-install of ver 1.4 and I think I lost all the data in the database in the process. Would that be the case, if not, how to I correct this as no images are now in the album reflecting.

Thanks
« Last Edit: July 02, 2007, 10:06:47 pm by Sami »
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: MySQL Database link
« Reply #1 on: June 28, 2007, 09:13:46 am »

You shouldn't re-install CPG at first place !

- Check your mysql server if you have your old db or not
- If you don't have your old db then you should use your backup (if you don't have backup you are lost! you should re-upload all pics again)
- If you have your old db
  • First you should change your old admin account's password, use phpmyadmin or similar mysql utility and open xxx_users table of old db , find the user that has 1 for user_id (this user is admin) and change it's password to 21232f297a57a5a743894a0e4a801fc3 this will set the password to admin
  • Now change {gallery-root}\include\config.inc.php file and put your old db infos there

Logged
‍I don't answer to PM with support question
Please post your issue to related board

ajl2chat2u

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: MySQL Database link
« Reply #2 on: July 02, 2007, 09:09:46 pm »

Thanks a lot!

Old db was still there, just had to tweak the config file to point to the correct db and tables.

All cool now!
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.