A PHP Error was encountered

Severity: Warning

Message: PDO::__construct() [pdo.--construct]: [2002] No such file or directory (trying to connect via unix:///opt/lampp/var/mysql/mysql.sock)

Filename: lib/Connection.php

Line Number: 240


Fatal error: Uncaught exception 'ActiveRecord\DatabaseException' with message 'exception 'PDOException' with message 'SQLSTATE[HY000] [2002] No such file or directory' in /opt/lampp/htdocs/domains/livecamluder.com/application/third_party/php-activerecord/lib/Connection.php:240 Stack trace: #0 /opt/lampp/htdocs/domains/livecamluder.com/application/third_party/php-activerecord/lib/Connection.php(240): PDO->__construct('mysql:host=loca...', 'root', 'livecamluder123', Array) #1 /opt/lampp/htdocs/domains/livecamluder.com/application/third_party/php-activerecord/lib/Connection.php(101): ActiveRecord\Connection->__construct(Object(stdClass)) #2 /opt/lampp/htdocs/domains/livecamluder.com/application/third_party/php-activerecord/lib/ConnectionManager.php(33): ActiveRecord\Connection::instance('mysql://root:li...') #3 /opt/lampp/htdocs/domains/livecamluder.com/application/third_party/php-activerecord/lib/Table.php(103): ActiveRecord\ConnectionManager::get_connection(NULL) #4 /opt/lampp/htdocs/domains/livecamluder.com/application/th in /opt/lampp/htdocs/domains/livecamluder.com/application/third_party/php-activerecord/lib/Connection.php on line 242