I currently have issues with UCP on all my three FreePBX installtions, probably caused by updates.
UCP on all instances does periodic restarts and the UCP log fills with these error messages:
2025-10-15 14:22 +02:00: There was an error with MySQL Connection
2025-10-15 14:22 +02:00: SqlError: (conn:-1, no: 1130, SQLState: HY000) Host '127.0.0.1' is not allowed to connect to this MariaDB server
2025-10-15 14:22 +02:00: at module.exports.createError (/var/www/html/admin/modules/ucp/node/node_modules/mariadb/lib/misc/errors.js:66:10)
2025-10-15 14:22 +02:00: at PacketNodeEncoded.readError (/var/www/html/admin/modules/ucp/node/node_modules/mariadb/lib/io/packet.js:588:19)
2025-10-15 14:22 +02:00: at Socket.emit (node:events:517:28)
OK, I guess there is a bug now in UCP. It wants to connect to Mariadb as “[email protected]” instead of “freepbxuser@localhost”. In MariaDB “127.0.0.1” is a different user than “localhost”.