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: can't access mySQL- recurring problem  (Read 3434 times)

0 Members and 1 Guest are viewing this topic.

whitebuffalo

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
can't access mySQL- recurring problem
« on: August 26, 2009, 06:30:45 pm »

I have had this occur four times now.  when i go to access my gallery, i get the following error:

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

i contacted my hosting company and they said it was due to an htaccess file issue.

i never put an htaccess file in place, so i assume it was created by the install of coppermine.  so, i remove it, but then a few weeks later: same thing.  remove it again and a week later: same thing.

can i delete the htaccess file entirely?  and what could cause this to keep recurring?

any help is appreciated.
 
Logged

Nibbler

  • Guest
Re: can't access mySQL- recurring problem
« Reply #1 on: August 26, 2009, 06:39:57 pm »

Coppermine does not come with an .htaccess file. Make sure you are running the latest version of Coppermine.
Logged

whitebuffalo

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: can't access mySQL- recurring problem
« Reply #2 on: August 26, 2009, 07:51:57 pm »

i am running 1.4.18
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: can't access mySQL- recurring problem
« Reply #3 on: August 26, 2009, 07:55:06 pm »

i am running 1.4.18
latest version on today is 1.4.25, so update ASP
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

whitebuffalo

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: can't access mySQL- recurring problem
« Reply #4 on: August 26, 2009, 10:06:17 pm »

updated.  lets hope that does the trick
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: can't access mySQL- recurring problem
« Reply #5 on: August 26, 2009, 10:11:15 pm »

It sounds like some script on your hosting is creating a .htaccess file automatically. I used to get this with the now defunct Lycos. The only way round it with them was for me to create a .htaccess file of my own containing very little.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: can't access mySQL- recurring problem
« Reply #6 on: August 26, 2009, 11:06:33 pm »

Perhaps this is a bit late, but for what it us worth......

i never put an htaccess file in place, so i assume it was created by the install of coppermine.  so, i remove it, but then a few weeks later: same thing.  remove it again and a week later: same thing.

Since this does not appear to be a new installation, then......

Quote from: Joachim Müller link=topic=51927.msg298014.html#msg298014
Coppermine itself doesn't come with a .htaccess file, so if neither you nor your webhost have created a particular .htaccess file, it probably is the payload of a hacking attempt, so try to delete it (keep a backup!) and see what happens then.

But without a link and more history, it is difficult to be certain.

@ whitebuffalo - if you see this again, then check the whole thread referenced here:
Yikes, I've been hacked! Now what?

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: can't access mySQL- recurring problem
« Reply #7 on: August 26, 2009, 11:08:15 pm »

Good point.
Logged
It is a mistake to think you can solve any major problems just with potatoes.
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.