Laravel PDOException(code: 0) failed loading cafile stream

29
October 25, 2019, at 3:30 PM
/var/www/dashboard/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70, PDOException(code: 0): failed loading cafile stream: 
`/etc/letsencrypt/live/dashboard.xyz.me/fullchain.pem' at 
/var/www/dashboard/vendor/laravel/framework/src/Illuminate/Database/Connectors/Connector.php:70)

I get this error when I try to perform a DB operation from the public site. This is from a server that connects remotely to a dedicated database server. This server is set up with nginx and letsencrypt. However, every user-facing operation fails with this error: failed loading cafile stream.

What could I be missing?

READ ALSO
The cursor of pymysql fail to exercute SQL language

The cursor of pymysql fail to exercute SQL language

I would like to use pymysql to update the data in mysql databaseBut I don't know what's going wrong with my code

36
escape ticks in golang sql statement [duplicate]

escape ticks in golang sql statement [duplicate]

This question already has an answer here:

22
Error when foreign referencing in mySQL (Error 3780)

Error when foreign referencing in mySQL (Error 3780)

I am making two tables and I want the personOne column from table b to reference the person column on table a, but for some reason it doesn't work

31
why is mysql refusing local connections

why is mysql refusing local connections

I'm trying to use the (slightly older version of) MySQL C++ connector (see here) to open up a connection to a database and write stuff to itMy code works on my local Ubuntu 18

35