ExeOutput for PHP
  • Discover
    Homepage
    Our Latest News and Articles

    Keep up-to-date with the latest developments, insightful articles.

    Why a PHP Compiler?

    Reasons for using our PHP compiler ExeOutput for PHP.

    Screenshots

    Get a visual tour of our software through various screenshots.

    Video and Screencasts

    Access a range of video content, from detailed tutorials to product demos.

  • Feature Tour
    All-in-one PHP to EXE Compiler
    Use PHP power to create Windows apps
    Full HTML5, JavaScript and CSS3 Support
    Make GUI And Console Apps with PHP
  • Downloads
    Get ExeOutput for PHP

    Download the installer of our PHP to EXE compiler

    PHP App Examples

    Download sample apps made with ExeOutput for PHP

    WordPress Desktop App

    Download the stand-alone WordPress app sample

  • Buy Now
  • Learn
    Documentation

    Full online documentation of ExeOutput for PHP

    PHP App Samples

    Example projects made with ExeOutput for PHP for various cases

    ChangeLog

    Version history and releases of ExeOutput for PHP

    Privacy Policy

    See our Privacy Policy for ExeOutput for PHP

    About Us

    More information about G.D.G. Software

  • Support
    Contact Us

    Contact our staff or open a support ticket

    Newsletter

    Stay Updated: subscribe to our newsletter

    Frequently Asked Questions

    Find your answer directly in our FAQ

    Support Center

    Get direct support for ExeOutput for PHP

    Affiliate Program

    Join our affiliate program to promote ExeOutput and earn money

    Community Forum

    Visit our support forum and ask your questions

Try For Free
My Account

Getting Started

11
  • Welcome to ExeOutput for PHP
  • Getting Started
  • Starting a New Project
  • Advice for Getting Started with PHP Applications
  • How to Compile Your Project
  • How Compiled PHP GUI Applications Work
  • How Compiled PHP Console Applications (CLI) Work
  • Using PHP Frameworks
  • Visual C++ Redistributable Requirement
  • Application Command Line Switches
  • PHP Samples

Working With PHP

12
  • Working with PHP
  • Choose a PHP Version
  • Accessing Files in Compiled PHP Applications
  • Saving Files with PHP in Desktop Applications
  • Solving PHP Errors
  • Using the Save As Dialog Box in PHP Applications
  • Selecting Local Files with PHP (File Upload Replacement)
  • Built-In ExeOutput for PHP Functions
  • About PHP Sessions and Cookies
  • Global Variables
  • Using the cURL Extension
  • Using exec(), system() in Applications

Databases

4
  • Using Databases in Applications
  • MySQL and MariaDB Support
  • Using a Portable MySQL (MariaDB) Server
  • How to Check MySQL Server Connection

JavaScript And Browser

14
  • JavaScript and the Chromium Browser
  • Developer Tools in ExeOutput Applications
  • The exeoutput JavaScript Object API
  • JavaScript window extension
  • Special Protocols for Links
  • HTML5 and CSS3 Support
  • Using HTML5 Video and Audio
  • Print, Kiosk Printing, and PDF
  • Opening New Windows
  • JavaScript window extension
  • Using Flash Objects (SWF) in Compiled Applications
  • Adding Custom Headers to Requests
  • How to Configure Proxy for Your App
  • HTTP Basic Authentication

File Manager

4
  • File Manager
  • File Properties Editor
  • About External Files
  • Internal Code Editor

Application Settings

9
  • Choosing and Configuring the Rendering Engine
  • Chromium Embedded Framework (CEF) Settings
  • WebView2 Rendering Engine Settings
  • Main Window Settings
  • UI Skin Properties
  • Application Components
  • Language and Localization
  • Startup and Exit Messages
  • Application Settings – Dialog Boxes

PHP Settings

7
  • PHP Settings – Main Settings
  • PHP Settings – PHP Extensions
  • PHP.ini Settings
  • PHP Settings – String Protection
  • PHP Settings – PHP Debugging
  • PHP Settings – External HTTP Server
  • Redirection and Routing

User Interface

13
  • User Interface Components
  • User Interface Editor
  • UI Control Actions
  • How to Modify Controls at Runtime
  • Status Bar Properties
  • Printer Properties
  • Tray Icon Properties
  • Context Menu Properties
  • Creating a Ribbon for Your Application
  • Toolbars in Your PHP Application
  • Menu Bar in your PHP application
  • Adding an Image or Logo to the UI
  • Using Timers and Cron Jobs in Your Application

Security

4
  • Security – Global Protection
  • Security – PHP Protection
  • Security – Code Signing (Digital Signatures)
  • Security – Licensing

Application Output

5
  • Application Output Settings
  • Output – Deployment Options
  • Application Loading Screens
  • Output – EXE Icon and Version Information
  • Output – Creating Installers or Zip Archives

Scripting with HEScript

9
  • Introduction to Scripting with HEScript
  • The HEScript Editor
  • Adding HEScript Code to Your Application
  • Script Templates
  • Running and Calling HEScript Procedures/Functions
  • HEScript Function Reference
  • How to Run an Executable Program
  • How to Prompt a User for Their Name Once and Store It
  • How to Call DLL Functions

Additional Information

6
  • Environment Options
  • Technical Notes Regarding Applications
  • Cloning a Project
  • Command Line Options
  • Contact Information
  • About this documentation
View Categories
  • Home
  • ExeOutput for PHP Help
  • Databases
  • Using a Portable MySQL (MariaDB) Server

Using a Portable MySQL (MariaDB) Server

3 min read

Many PHP projects rely on a MySQL or MariaDB database. ExeOutput for PHP allows you to bundle a portable MariaDB server directly with your compiled application. This server is considered “portable” because it runs as a standard process and does not require installation as a Windows service. This is similar to a WAMP stack, but ExeOutput for PHP’s integrated browser and PHP runtime replace the need for a separate Apache web server.

Tip

Watch our video tutorial on configuring, using, and distributing the portable MySQL server with your app.

Separate Download Required

The portable MariaDB server is not included in the main ExeOutput for PHP installer. You must download it separately using the Web Update utility. In ExeOutput for PHP, click Check for updates to launch the utility, then select and install the “MySQL package for ExeOutput for PHP”.

After installation, the core server files are located in the MySQL\Source\mysql subfolder of your ExeOutput for PHP installation directory. You can update these files manually if needed.

Initial Server Setup #

Before setting up the server, you must first define your project’s Output Path.

ExeOutput for PHP will then copy the necessary server files into a MySQL subfolder within your specified output directory. During this setup, you will be prompted to configure the root password and the connection port (default is 3306).

After you provide these details, the server files are copied, and the server is started temporarily to apply the configuration. Once configured, the server is shut down and is ready to be used by your application.

Distribution

The MySQL folder is required for the application to function and must be distributed alongside your .exe file. When creating an installer for your application (for example, with Paquet Builder), ensure you include this entire folder.

Changing the Password

Do not change the root password by manually editing configuration files. ExeOutput for PHP stores this password internally to manage the server shutdown process. To change the password, you must repeat the initial setup process.

You can view the configured credentials and port at any time by clicking the Show Configured Username and Password and Show Configured Port links in the ExeOutput for PHP interface.

Database Management with AdminNeo #

To manage your databases, you need a MySQL client. ExeOutput for PHP offers integration with AdminNeo, a popular database management tool.

ExeOutput for PHP provides a pre-compiled, standalone version of AdminNeo called AdminNeo EXE. From the ExeOutput for PHP interface, you can launch AdminNeo EXE to manage your project’s portable database. This action temporarily places AdminNeo EXE next to your application’s output .exe, starts your portable MySQL server, and then runs AdminNeo. When you close AdminNeo, the MySQL server is automatically shut down.

Connecting with AdminNeo #

AdminNeo Login

  • Server: localhost. If you used a custom port, enter it in the format localhost:PORT (e.g., localhost:3307).
  • Username: root
  • Password: The password you configured during the initial setup.

Once connected, you can create new databases, execute SQL commands, import data, and perform other management tasks.

AdminNeo Interface

AdminNeo EXE is a development tool and should not be distributed with your final application.

AdminNeo EXE Download

Like the MariaDB package, AdminNeo EXE must be downloaded separately via the Web Update utility.

Application Integration #

To connect your PHP code to the database, follow these steps:

  1. Enable the MySQLi PHP extension on the PHP Extensions page.
  2. On the MySQL Server page, check the option Start and stop the MySQL server automatically. This ensures the database server runs alongside your application.
  3. The MySQL server may take a few seconds to initialize. If your application tries to connect immediately at startup, it may fail. To prevent this, you can configure a startup delay using the Delay to wait for the server to start (in seconds) option. This forces your application to wait before displaying its main window, giving the server time to become ready.

If the server fails to start, a customizable error message is displayed. You can edit this message on the Localization page.

Single Instance

Only one instance of the portable server can run at a time. It is highly recommended to also limit your application to a single instance.

Removing the MySQL Server #

To decouple the server from your application, uncheck Start and stop the MySQL server automatically in your project settings. You can then safely delete the MySQL subfolder from your application’s output directory.

Viewing Server Logs #

The MySQL server maintains a detailed log file, which is essential for troubleshooting. To view it, click the Open server log link in the ExeOutput for PHP interface.

WordPress Demo #

To see a complex, real-world example, check out our demonstration project where we compiled the entire WordPress platform into a portable desktop application. The sample includes the full source code and a step-by-step tutorial.

What are your Feelings

  • Happy
  • Normal
  • Sad

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
MySQL and MariaDB SupportHow to Check MySQL Server Connection

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *


Table of Contents
  • Initial Server Setup
  • Database Management with AdminNeo
    • Connecting with AdminNeo
  • Application Integration
  • Removing the MySQL Server
  • Viewing Server Logs
  • WordPress Demo
ExeOutput for PHP to EXE compiler

PHP to EXE App Compiler
© G.D.G. Software 2025

X-twitter Youtube
Software
  • Home
  • Feature Tour
  • Screenshots
  • Video and Screencasts
  • Home
  • Feature Tour
  • Screenshots
  • Video and Screencasts
Get
  • Download
  • Buy Now
  • PHP App Samples
  • My Account
  • Download
  • Buy Now
  • PHP App Samples
  • My Account
Connect
  • Latest News
  • Newsletter
  • Forum
  • Affiliate Program
  • Support Center
  • Latest News
  • Newsletter
  • Forum
  • Affiliate Program
  • Support Center
QUESTIONS?
  • Contact Us
  • FAQ
  • Documentation
  • Privacy Policy
  • About Us
  • Contact Us
  • FAQ
  • Documentation
  • Privacy Policy
  • About Us
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}