Hello there. I'm currently running a Minecraft server in the cloud with Dynmap and its running into a PHP error with my external standalone NGINX web server when it attempts to connect to the MySQL database. My NGINX web server and MySQL database are both running on another server within the same internal network as the Minecraft server in the cloud, though they're both separate from one another. I also have the prerequisite php7.4-fpm and php-mysqli packages installed for the web server in order to be able to interact with the Dynmap plugin. I have my logs posted below. The MySQL auth user and networking all seems good. This might be an issue with Dynmap's MySQL code? I'm unsure.
configuration.txt - https://pastebin.com/BLdGcx92
2023/06/17 20:54:42 [error] 90035#90035: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to a member function bind_param() on bool in /var/www/dynmap/web/standalone/MySQL_funcs.php:44
Stack trace:
#0 /var/www/dynmap/web/standalone/MySQL_funcs.php(67): getStandaloneFileByServerId()
#1 /var/www/dynmap/web/standalone/MySQL_configuration.php(22): getStandaloneFile()
#2 {main}
thrown in /var/www/dynmap/web/standalone/MySQL_funcs.php on line 44" while reading response header from upstream, client: <redacted>, server: <redacted>,
request: "GET /standalone/MySQL_configuration.php HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "<redacted>", referrer: "<redacted>"
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.