Database Access for CLI Application

Team, I need your help (or workaround) for a project. We have a CLI application which processes records in a database. I came to know through this forum that “MySQL Support” is not available for CLI applications and the menu for that option is disabled.

Is there a way to work with PHP CLI application and MYSQL/MariaDB with ExeOutput?
Are there any workarounds or alternatives?
Please help.

You can still enable the MySQL PHP extension for a CLI project, but ExeOutput won’t start the MariaDB server for you. Of course, nothing prevents you from using a fake GUI project to create a MariaDB server with ExeOutput, then copy the “mysql” subfolder to your CLI project. But you’ll have to start and stop the server manually.