The default configuration of MySQL on Windows can be done very easy with the wizard. You can call it any time in the start menu with the link MySQL Server Instance Configuration Wizard once again.
Welcome window which shows the MySQL Version to configure.
Choose the option Detailed Configuration here.
The server type is selected depending to the use of the machine. These settings limit the ensured memory for MySQL for smooth operation together with other programs.
The most important engine is InnoDB because it supports transactions so just choose it as the main storage engine like in the image beside.
Just use default settings here.
The first option Decision Support is enough for now. It allows maximal 100 connections and expect an avarage of 20.
Installation on the developer machine the default port 3306 can remain. You should activate SQL Strict Mode for the use of transaction.
For international applicaiton UTF-8 is needed, so choose Best Support for Multilingualism here.
The selection shown by the image installs MySQL as service which is executed automatically on windows start. The inclusion into the windows path allows the call of the MySQL client program from every directory.
In this window you just set an arbitrary password.
Starts the configuration of MySQL.
In some case the follow error occur:
The security settings could not be applied.
Error Number 1045.
Access denied for user 'root'@'localhost'
(using password: YES)That means MySQL could not change the password. The configuration has been executed nevertheless!
You do not have to a specify a password when you login to the server.
Author: Johannes HammoudComments Date: 07.11.2009