====== Install MySQL Database ====== ===== On Windows ===== - Open [[http://dev.mysql.com/downloads/installer|MySQL Server]] in a web browser. - Click on the "Download" button. - Click "No thanks, just start my download." - Once the file is downloaded, execute it. - In the MySQL Installer window, click on "Install MySQL Products" - Click "I accept the license terms" and then click "Next" on the License Information window - Click "Execute" on the Find latest products window, then click "Next". - Select "Custom" on the Choosing a Setup Type window - On development machines and single drive servers, change the Data Path to "C:" - On multi-drive servers, change the Data Path to the "DATA" drive - Then click "Next" - On the Feature Selection window - Select Server with all of its subcomponents - On a development machines: - Select Applications and uncheck all of the subcomponents except for MySQL Workbench - Select Documentation with all of its subcomponents. - Then click "Next" - Click "Next" on the Check Requirements window - Click "Execute" on the Installation Progress window, then click "Next" - Click "Next" on the Configuration Overview window. - Choose the appropriate "Config Type" for the machine - Click "Next" - Type a complex password for the root account. - Click "Next" - Change "Windows Service Name" to MySQL - Click "Next" - Click "Next" on the Configuration Overview window to configure the sample database - Click "Next" when that operation completes - Click "Finish" on the Installation Complete window. - Open the Service Control Manager and stop the MySQL service. On a development machine, change the startup type to "Manual" - Open the my.ini file and change the datadir value to "C:\data" instead of "C:\data\data" - Move all of the files and directories from "C:\data\data" to "C:\data" - Delete the "C:\data\data" directory ===== On Linux ===== FIXME