Code: Select all
Database Connection Failed
Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) (2002)
Function Performed: CONNECT
Code: Select all
Database Connection Failed
Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (2002)
Function Performed: CONNECT
I thought it might have something to do with my htaccess file and PrettyURL use, but I checked and don't see anything out of the ordinary. It's been working with PrettyURL just fine for over a year, just suddenly stopped working in those two instances without any changes on my part. Host just says it's a "scripting error".
Anyone else encountered this or know what the solution might be? Thanks!
CMSMS 2.2.3.1
Installed Modules
AdminSearch 1.0.4
CGBlog 1.15.5
CGCalendar 2.5
CGExtensions 1.57.1
CGFeedback 2.1
CGSimpleSmarty 2.1.7
CMSContentManager 1.1.6
CMSMailer 6.2.14
Captcha 0.5.5
CmsJobManager 0.1.1
DecisionTree 0.2.12
DesignManager 1.1.3
FAQ 2.0.3
FileManager 1.6.4
FilePicker 1.0.1
FormBuilder 0.8.1.6
FrontEndUsers 2.1.1
Gallery 2.3.2
JQueryTools 1.4.0.3
MenuManager 1.50.3
MicroTiny 2.2.1
ModuleManager 2.1.2
Navigator 1.0.8
News 2.51.3
Search 1.51.2
Config file
Code: Select all
<?php
# CMS Made Simple Configuration File
# Documentation: https://docs.cmsmadesimple.org/configuration/config-file/config-reference
#
$config['dbms'] = 'mysqli';
$config['db_hostname'] = 'localhost';
$config['db_username'] = 'xxxxx';
$config['db_password'] = 'xxxxx';
$config['db_name'] = 'xxxxx';
$config['db_prefix'] = 'cms_';
$config['timezone'] = 'America/Chicago';
$config['url_rewriting'] = 'mod_rewrite';
?>