Forums / General Questions / mysqli_connect(): (HY000/2002): No such file or directory

mysqli_connect(): (HY000/2002): No such file or directory

Views: 6,852

Results 21 to 25 of 25
16 Aug 2020, 1:41 AM
#21
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

mysqli_connect(): (HY000/2002): No such file or directory

Centos EOL Schedule

https://wiki.centos.org/About/Product

End of Lifetime (EOL) Dates
CentOS-6 CentOS-7 CentOS-8
Full Updates1 May 10th, 2017 Q4 2020 May 2024
Maintenance Updates2 November 30th, 2020 June 30th, 2024 May 31st, 2029

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

16 Aug 2020, 3:35 AM
#22
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: mysqli_connect(): (HY000/2002): No such file or directory

Given that the operating system is largely irrelevant at this point, let's leave that part out of it.

Was the traffic that triggered the logs coming at the same time as a server reboot?

There's really not much to discuss if the problem isn't reproducible on-demand ... and as far as I can tell the only likely "cause" that could trigger it is a reboot or having the database engine down due to a restart/software-update/etc.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

16 Aug 2020, 10:57 AM
#23
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: mysqli_connect(): (HY000/2002): No such file or directory

DrByte:

Given that the operating system is largely irrelevant at this point, let's leave that part out of it.

Was the traffic that triggered the logs coming at the same time as a server reboot?

There's really not much to discuss if the problem isn't reproducible on-demand ... and as far as I can tell the only likely "cause" that could trigger it is a reboot or having the database engine down due to a restart/software-update/etc.

No the server was not down. It seems like it was just that one bot semrush.com, and it was always the same url that was identified. Im not getting any errors of any kind. Is there something I did to turn that off?

Since the errors are no longer appearing in the debug file, this is a moot issue that should be ended until it appears again.

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

16 Aug 2020, 11:04 AM
#24
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,727
Plugin Contributions:
56

Re: mysqli_connect(): (HY000/2002): No such file or directory

If you are getting pounded by SEMRush, you can just block them.

https://www.semrush.com/bot/

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

16 Aug 2020, 1:38 PM
#25
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: mysqli_connect(): (HY000/2002): No such file or directory

swguy:

If you are getting pounded by SEMRush, you can just block them.

https://www.semrush.com/bot/

Yea, I just did that in csf. 46.229.168.0/24 But that might not be anything more than a bandaid. Thanks.

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!