Advanced search  


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: Unable to connect to database ! MySQLi said: :  (Read 1860 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Unable to connect to database ! MySQLi said: :
« on: November 11, 2020, 06:16:26 pm »


I have 3 CPG galleries. 1 at the main domain and the other 2 at 2 subdomains. The first works well but the other have problems(unable to connect to database). I have upgraded both but the problem continue. I have checked the and i am sure that everything is ok. Also i have compared with the one that works well and are very similar. The only problem that i see is concerning the localhost but i have tried change them and the problem persists.
Such i havent found a similar post regarding this problem, i request the possible help of whom might have an aswer to this problem.
Thanks in advance.



  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4886
Re: Unable to connect to database ! MySQLi said: :
« Reply #1 on: November 12, 2020, 05:02:43 pm »

You may need to speak to your hosting for advice. The error is as it says on the tin, and the only problems this can be are incorrect credentials or a server side restriction/problem.
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up

Page created in 0.021 seconds with 19 queries.