 <p>This is not a Laravel nor Sentry problem, this probably is a PDO (database) connection error.</p> <p>This is basic, but still: check if mysql is running and if mysqld.sock has the proper permissions.</p> <p>Check if your php.ini file has it configured properly, example:</p> <pre><code>pdo_mysql.default_socket = /var/run/mysqld/mysqld.sock </code></pre> <p>Verify the proper location of it by running:</p> <pre><code>mysqladmin variables </code></pre> <p>OR</p> <pre><code>mysqld --verbose --help | grep ^socket </code></pre>