There is a point to this story, but it has temporarily escaped my mind...
Contact Me MyFaceBook MyLinkedIn MyGitHub MyTwitter

Install MySQL Database

On Windows

  1. Open MySQL Server in a web browser.
  2. Click on the “Download” button.
  3. Click “No thanks, just start my download.”
  4. Once the file is downloaded, execute it.
  5. In the MySQL Installer window, click on “Install MySQL Products”
  6. Click “I accept the license terms” and then click “Next” on the License Information window
  7. Click “Execute” on the Find latest products window, then click “Next”.
  8. Select “Custom” on the Choosing a Setup Type window
  9. On development machines and single drive servers, change the Data Path to “C:”
  10. On multi-drive servers, change the Data Path to the “DATA” drive
  11. Then click “Next”
  12. On the Feature Selection window
    1. Select Server with all of its subcomponents
    2. On a development machines:
      1. Select Applications and uncheck all of the subcomponents except for MySQL Workbench
      2. Select Documentation with all of its subcomponents.
  13. Then click “Next”
  14. Click “Next” on the Check Requirements window
  15. Click “Execute” on the Installation Progress window, then click “Next”
  16. Click “Next” on the Configuration Overview window.
  17. Choose the appropriate “Config Type” for the machine
  18. Click “Next”
  19. Type a complex password for the root account.
  20. Click “Next”
  21. Change “Windows Service Name” to MySQL
  22. Click “Next”
  23. Click “Next” on the Configuration Overview window to configure the sample database
  24. Click “Next” when that operation completes
  25. Click “Finish” on the Installation Complete window.
  26. Open the Service Control Manager and stop the MySQL service. On a development machine, change the startup type to “Manual”
  27. Open the my.ini file and change the datadir value to “C:\data” instead of “C:\data\data”
  28. Move all of the files and directories from “C:\data\data” to “C:\data”
  29. Delete the “C:\data\data” directory

On Linux


Copyright © 2022 by Julian Easterling. SOME RIGHTS RESERVED.
Privacy Policy              Terms of Use             

Creative Commons License
Except where otherwise noted, content on this site is
licensed under a Creative Common Attribution-Share Alike 4.0 International License.

All of the opinions expressed on this website are those of Julian Easterling and
do not represent the views of any of my current and previous clients or employers in any way.

If you notice an error on the site or content that has not been properly attributed, bring
it to my attention using the contact page and I will endeavor to fix it as soon as I can.

I accept no responsibility or liability for any damages incurred by following any of
my advice or by using any of the information on my site or of those sites that I link to.