Problem with Wordpress install in a jail

Hi All,

I need some help getting WordPress running on FreeBSD in a jail. Can't get past this error on any newish version of the OS and packages. I've tried several combos of PHP7 and PHP8, and MariaDB under Apache24, FreeBSD12 and 13 release versions -- all come back with this error:
Code:
PHP Warning:  mysqli_real_connect(): (HY000/2002):
No such file or directory in /usr/local/www/apache24/data/wp-includes/class-wpdb.php on line 1775
Anyone come across this? I've been running Wordpress sites for years under FreeBSD and haven't come across this issue before. All the info in wp-config.php should work to connect to the database, as I'm able to login under the user from the command line. Thanks!
 
Back
Top