Summary: in this tutorial, you will learn step by step how to install MySQL on the Windows platform using the MySQL Installer. After the tutorial, you will have a MySQL server and its tools up and running on your system for learning and practicing.
Note that if you use other operating system platforms such as Linux and macOS, you use the following tutorial:
Download MySQL Installer
If you want to install MySQL on the Windows environment, using MySQL installer is the easiest way. MySQL installer provides you with an easy-to-use wizard that helps you to install MySQL with the following components:
- MySQL Server
- All Available Connectors
- MySQL Workbench with Sample Data Models
- MySQL Notifier
- Tools for Excel and Microsoft Visual Studio
- MySQL Sample Databases
- MySQL Documentation
To download MySQL installer, go to the following link http://dev.mysql.com/downloads/installer/. There are two installer files:
- If you are connecting to the internet while installing MySQL, you can choose the online installation version
- In case you want to install MySQL offline, you can download the
Install MySQL via MySQL Installer
To install MySQL using the MySQL installer, double-click on the MySQL installer file and follow the steps below:
. Note Here My MySql version ins 15.5.8 it may change based on your wamp installation. Now you can follow the answer by @Matei. I'm pasting his answer here. Hope this will help you. To export: mysqldump -u username -p databasename filename.sql and to Import: mysql -u username -p databasename. For information about installing and configuring MySQL database server for other operating systems, refer to the Installing and Upgrading MySQL documentation. The Setting Up the MySQL Database Server 5.1 versions in the Windows Operating System document provides the instructions on setting up the 5.1 versions of MySQL Server on Windows.
Install MySQL Step 1: Windows configures MySQL Installer
Install MySQL Step 2 – Welcome Screen: A welcome screen provides several options. Choose the first option: Install MySQL Products
Install MySQL Step 3 – Download the latest MySQL products: MySQL installer checks and downloads the latest MySQL products including MySQL server, MySQL Workbench, etc.
Install MySQL Step 4: Click the Next button to continue
Install MySQL Step 5 – Choosing a Setup Type: there are several setup types available. Choose the Full option to install all MySQL products and features.
Install MySQL Step 6 – Checking Requirements
Mysqldump Windows Command Line
Install MySQL Step 7 – Installation Progress: MySQL Installer downloads all selected products. It will take a while, depending on which products you selected and the speed of your internet connection.
Install MySQL Step 7 – Installation Progress: downloading Products in progress.
Install MySQL Step 7 – Installation Progress: Complete Downloading. Click the Next button to continue…
Install MySQL Step 8 – Configuration Overview. Click the Next button to configure MySQL Database Server
Install MySQL Step 8.1 – MySQL Server Configuration: choose Config Type and MySQL port (3006 by default) and click Next button to continue.
Install MySQL Step 8.1 – MySQL Server Configuration: choose a password for the
root account. Please note the password download and keep it securely if you are installing MySQL database server on a production server. If you want to add a more MySQL user, you can do it in this step.
Install MySQL Step 8.1 – MySQL Server Configuration: choose Windows service details including Windows Service Name and account type, then click Next button to continue.
Install MySQL Step 8.1 – MySQL Server Configuration – In Progress: MySQL Installer is configuring MySQL database server. Wait until it is done and click the Next button to continue.
Install MySQL Step 8.1 – MySQL Server Configuration – Done. Click the Next button to continue.
Install MySQL Step 8.2 – Configuration Overview: MySQL Installer installs sample databases and sample models.
Install MySQL Step 9 – Installation Completes: the installation completes. Click the Finish button to close the installation wizard and launch the MySQL Workbench.
Install Mysqldump Windows Xp
In this tutorial, you have learned how to install MySQL on your Windows system using the MySQL installer.