Create an XAMPP MySQL Database in 6 Easy Steps

Davor DSouza • Last Modified: August 31st, 2023

Xampp MySQL

The XAMPP Stack of Software is an Open-source Localhost-based server encompassing software packages that offer several functionalities. You can use the XAMPP Control Panel to start or deactivate all Software that comes with it.

With XAMPP in place, you can test projects/modifications before releasing them to the Internet. The MySQL Database forms a vital component of the XAMPP Stack, being one of the most significant features offered by it. With XAMPP, you can use phpMyAdmin to create & use your XAMPP MySQL Database in minutes. 

This article will provide a full explanation of what XAMPP is and how to use it to build a XAMPP MySQL Database.

Table of Contents

What is MySQL?

Image Source

MySQL is one of the most widely used Open-source Relational Database Management Systems that uses a simple Client-Server Model to assist users in managing Relational Databases, or data stored in rows and columns across tables. It makes use of the well-known query language Structured Query Language (SQL), which enables users to conduct all CRUD (Create, Read, Update, and Delete) actions.

MySQL was first created in 1994 by MySQL AB, a Swedish corporation. Sun Microsystems bought the company in 2008, and Sun Microsystems was eventually bought out by Oracle, a US-based IT behemoth. Oracle is now in charge of MySQL’s development and expansion. Despite the fact that MySQL is Open-source and free to use, it contains some premium capabilities that Oracle only makes available to clients who are prepared to pay for it.

Despite fierce competition in the Database Industry today, MySQL is the preferred Database for over 5000 Businesses, including Uber, Netflix, Pinterest, Amazon, AirBnB, Twitter, and others. Users can easily set up, operate, and scale MySQL systems in the Cloud with Amazon RDS as well.

What is XAMPP?

Image Source

XAMPP is a free and Open-source cross-platform Web Server Solution Stack built by Apache Friends, which consists mostly of the Apache HTTP Server, MariaDB/MySQL Database, and interpreters for PHP and Perl scripts. As most real-world web server deployments share the same components as XAMPP, moving from a local test server to a live server is simple.

Owing to XAMPP’s simplicity of deployment, a developer can quickly and easily install a WAMP or LAMP stack on an operating system, with the added benefit that common add-in programs like WordPress and Joomla!

Key Features of XAMPP

  • It is easy to set up compared to other web servers such as WAMP.
  • It’s Multi Cross-Platform, meaning it’ll run on both Windows and Linux. You can start and terminate the full Web Server and Database Stack with a single command.
  • XAMPP is offered in two flavours: Complete and Standard.
  • It has a control panel with Start and Stops buttons for specific mechanisms, such as Apache, which is run through its Control Panel.
  • OpenSSL, phpMyAdmin, MediaWiki, Joomla, WordPress, and a slew of other modules are also included.

What is phpMyAdmin?

XAMPP MySQL - phpMyAdmin logo
Image Source

phpMyAdmin is a free and open-source MySQL and MariaDB Administration Tool. It has become one of the most popular MySQL Administration tools, especially for web hosting services, as a Portable Web Application developed mostly in PHP.

Inspired by MySQL-Webadmin, Tobias Ratschiller, then an IT consultant and eventually the founder of the software business Maguma, began working on a PHP-based Online Front-end to MySQL in 1998. Due to a lack of time, he abandoned the project in the year 2000.

phpMyAdmin had already established itself as one of the most popular PHP applications and MySQL Administration tools, with a big user and contributor community. In 2001, a group of three developers Olivier Müller, Marc Delisle, and Loc Chapeaux, established The phpMyAdmin Project at SourceForge and took over development.

phpMyAdmin is a Graphical User Interface (GUI) program for Managing MySQL Databases. We can set up the Database and Table manually and run the query on them. It has a Web-based User Interface and can be installed on any server. You can access it from any computer because it is web-based.

Simplify MySQL ETL with Hevo’s No-code Data Pipeline

Hevo Data is a No-code Data Pipeline that offers a fully managed solution to set up data integration from MySQL and 100+ Data Sources (including 40+ Free Data Sources) and will let you directly load data to a Data Warehouse or the destination of your choice.

Hevo will automate your data flow in minutes without writing any line of code. Its fault-tolerant architecture makes sure that your data is secure and consistent. Hevo provides you with a truly efficient and fully automated solution to manage data in real-time and always have analysis-ready data.

Get started with hevo for free

Let’s look at some of the salient features of Hevo:

  • Fully Managed: It requires no management and maintenance as Hevo is a fully automated platform.
  • Data Transformation: It provides a simple interface to perfect, modify, and enrich the data you want to transfer.
  • Real-Time: Hevo offers real-time data migration. So, your data is always ready for analysis.
  • Schema Management: Hevo can automatically detect the schema of the incoming data and map it to the destination schema.
  • Scalable Infrastructure: Hevo has in-built integrations for 100’s of sources that can help you scale your data infrastructure as required.
  • Live Monitoring: Advanced monitoring gives you a one-stop view to watch all the activities that occur within Data Pipelines.
  • Live Support: Hevo team is available round the clock to extend exceptional support to its customers through chat, email, and support calls.
Sign up here for a 14-day free trial!

How to use XAMPP to Create a MySQL Database?

Here are the easy steps to get started with MySQL XAMPP:

XAMPP MySQL Step 1: Opening XAMPP

Go to your system’s XAMPP folder or simply click the XAMPP Icon to open it. The Control Panel is now visible, and you may use it to start or stop any module.

XAMPP MySQL Step 2: Starting XAMPP

Select the “Start” option for the Apache and MySQL modules, respectively. The user will see the following screen once it has started working:

XAMPP MySQL - XAMPP Control panel
Image Source

XAMPP MySQL Step 3: Accessing Admin

Next, select the MySQL Module and click the “Admin” button. The user is immediately redirected to the following address in a web browser:


XAMPP MySQL Step 4: Creating a Database

A number of tabs appear, including Database, SQL, User Accounts, Export, Import, Settings, and so on. Select the “Database” tab from the drop-down menu. The Create option is visible there. Choose a suitable name for the Database input field.

XAMPP MySQL - Creating Database
Image Source

XAMPP MySQL Step 5: Naming Tables

It is critical to establish tables in order to store information in a logical and orderly manner. We’ll create tables for the newly established database in this stage. Click the ‘Structure‘ tab in the newly formed Database (in this case, the Login page). The user will see a ‘Create Table‘ option near the end of the tables list. Fill in the “Name” and “Number of Columns” fields, then click the “Go” button.

XAMPP MySQL - Naming Database Tables
Image Source

XAMPP MySQL Step 6: Saving the Database

We must now initialize the columns according to their kind. Fill in the names for each of your columns, as well as the type and the input field’s maximum length. In the bottom right corner, click “Save.” The table has been constructed with the initialized columns. Your Database can have as many tables as you like.

XAMPP MySQL - Saving the Database
Image Source


So you can see how crucial MySQL is in the world of Web Development. In layman’s terms, XAMPP MySQL can be compared to the backbone of a project. I’ll explain why!! To be successful, a project must be carefully tested. As a result, you’ll need a safe and well-equipped platform for this. XAMPP provides the necessary platform, complete with all of the necessary components.

Managing rising databases and the number of linked procedures such as Business Analytics, on the other hand, is not an easy task. Migrating large volumes of data from MySQL to a Cloud-based Data Warehouse is a time-consuming and inefficient operation, but with a Data Integration tool like Hevo Data, you can do it in no time and with no effort.

visit our website to explore hevo

Hevo Data with its strong integration with 100+ Sources & BI tools such as MySQL, PostgreSQL, MS SQL Server, etc., allows you to not only export data from sources & load data in the destinations, but also transform & enrich your data, & make it analysis-ready so that you can focus only on your key business needs and perform insightful analysis using BI tools.

Give Hevo Data a try and sign up for a 14-day free trial today. Hevo offers plans & pricing for different use cases and business needs, check them out!

Share your experience of how to use XAMPP MySQL Database in the comments section below!

No-code Data Pipeline for MySQL