MySQL - Installation under Windows

October 2016

Since version 3.23.19, MySQL is licensed under GPL (both under Linux and Windows), which means it can be used for free.

Download MySQL

MySQL for Windows is available for free download on

SiteFile (pour Windows 95)

The second file is only needed for Windows 95. It will allow you to install the ODBC drivers (.dll files) for MySQL.

Installing and first launch

The installation is not complicated, just read the onscreen instructions
Once installed, launch MySQL is from a MS-DOS window:
  • mysqld (or mysqld-opt) or
  • mysql-shareware (depending on your version).

--language=french allows, for example, to have the MySQL messages in French.
--skip-grant-tables prevent the use the MySQL privileges.
--skip-name-resolve to never resolve hostnames.
--port=3306 to specify the port number.
Here is an example command line to start MySQL:
c:\mysql\bin\mysqld-opt --skip-name-resolve --skip-grant-tables
--language=french --port=3306

To close MySQL:
C:\mysql\bin\mysqladmin -u root shutdown
It may be practical to create two batch files (.bat extension) in the MySQL bin directory to run the above commands.
E.g cmysql.bat and fmysql.bat

Original document published on

Related :

This document entitled « MySQL - Installation under Windows » from CCM ( is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.