MySQL 5 6 and Workbench OnWindows

download MySQL 5 6 and Workbench OnWindows

of 15

Transcript of MySQL 5 6 and Workbench OnWindows

  • 7/25/2019 MySQL 5 6 and Workbench OnWindows

    1/15

    Table of Contents

    Introduction ............................................................................................................................................. 2

    Virtual Machine Setup ............................................................................................................................. 2

    MySQL (5.6) Setup ................................................................................................................................... 3

    MySQL-Workbench Setup ..................................................................................................................... 11

    MySQL-Workbench Performance Tab ................................................................................................... 14

    Software Download Links ...................................................................................................................... 15

  • 7/25/2019 MySQL 5 6 and Workbench OnWindows

    2/15

    Introduction Step by step installation process to install MySQL 5.6 (fresh installation) on Windows 64bit

    Virtual Machine

    This applies to Windows 7 or Windows Server 2008 64bit Editions, in fact there should not

    any problem on Windows 2012 Edition. That means either of the OS is installed already

    The OS/VM connects to the internet and you do not have to do a full Windows Update of

    your OS/VM to test

    MySQL Workbench ZIP Install is used (Not going for a full blown installation meeting the

    requirements of Visual Studio installation etc)

    Bare minimum screenshots are used that means just the required part to keep going

    Virtual Machine Setup

    Oracle Virtual Box Version

    Only Guest Additions installed on the system initially

    The only Windows update was IE

  • 7/25/2019 MySQL 5 6 and Workbench OnWindows

    3/15

    MySQL (5.6) Setup

    http://dev.mysql.com/downloads/windows/installer/5.6.html

    Download "mysql-installer-community" but not web-community from the above link

    Prerequisites for the installation

    The .NET Framework error

    http://dev.mysql.com/downloads/windows/installer/5.6.htmlhttp://dev.mysql.com/downloads/windows/installer/5.6.htmlhttp://dev.mysql.com/downloads/windows/installer/5.6.html
  • 7/25/2019 MySQL 5 6 and Workbench OnWindows

    4/15

    The following software should to be downloaded. So, you do not have to go for a full Windows

    Update of your OS/VM which does a lot of download

    Download the below software (64bit) :

    The Microsoft.NET 3.5 offline installer (although .NET 4 is required, it does need .NET 3.5first)

    https://www.microsoft.com/en-US/download/details.aspx?id=25150

    The Microsoft.NET 4 Client full (offline Installer)

    https://www.microsoft.com/en-US/download/details.aspx?id=17718

    Microsoft VC++2013 Redistributable

    https://www.microsoft.com/en-US/download/details.aspx?id=40784

    Do not forget to select "vcredist_x64.exe" , for it is a "x64" installation

    The above ones were installed and that can be verified once a reboot of VM is done

    The above installation were done in this manner :

    The Microsoft.NET 3.5 offline installation

    https://www.microsoft.com/en-US/download/details.aspx?id=25150https://www.microsoft.com/en-US/download/details.aspx?id=25150https://www.microsoft.com/en-US/download/details.aspx?id=17718https://www.microsoft.com/en-US/download/details.aspx?id=17718https://www.microsoft.com/en-US/download/details.aspx?id=40784https://www.microsoft.com/en-US/download/details.aspx?id=40784https://www.microsoft.com/en-US/download/details.aspx?id=40784https://www.microsoft.com/en-US/download/details.aspx?id=17718https://www.microsoft.com/en-US/download/details.aspx?id=25150
  • 7/25/2019 MySQL 5 6 and Workbench OnWindows

    5/15

    The Microsoft.NET 4 offline installation

    The next one is redistributable VC++2013 as mentioned on MySQL documentation, but we

    will see that the MySQL installer will download VC++2010

  • 7/25/2019 MySQL 5 6 and Workbench OnWindows

    6/15

    Start the MySQL Installer now and there should not be any errors

    The following screenshots below are step by step process

  • 7/25/2019 MySQL 5 6 and Workbench OnWindows

    7/15

    Click "Next" when the above Requirements screen pops up, followed by "execute"

    With the "execute" the internet connection allows the installer to download the VS Tools

    Accept the license

  • 7/25/2019 MySQL 5 6 and Workbench OnWindows

    8/15

    Press "Execute", we would see only Workbench gets failed, but with Workbench ZIP we can

    get that, which is shown in the next screens

  • 7/25/2019 MySQL 5 6 and Workbench OnWindows

    9/15

    Press the "next"

  • 7/25/2019 MySQL 5 6 and Workbench OnWindows

    10/15

    Press the "next"

    Enter the root password and press on "check"

  • 7/25/2019 MySQL 5 6 and Workbench OnWindows

    11/15

    Press the "next"

    MySQL-Workbench Setup

    Download MySQL-Workbench

    http://dev.mysql.com/downloads/workbench/

    From the above link download the below (ZIP format but not installer)

    http://dev.mysql.com/downloads/workbench/http://dev.mysql.com/downloads/workbench/http://dev.mysql.com/downloads/workbench/
  • 7/25/2019 MySQL 5 6 and Workbench OnWindows

    12/15

    In my case it was 6.3.6, but both works fine

    Create a directory to extract this ZIP to a specified directory to be on safe side

    Once extracted, you can verify the files and move the extracted directory to place under

    "C:\" if you like

  • 7/25/2019 MySQL 5 6 and Workbench OnWindows

    13/15

    Create a desktop short cut by right clicking on it

    Double click to open it and right click on the connection to verify that the settings are fine

    Enter the password and save it in vault

  • 7/25/2019 MySQL 5 6 and Workbench OnWindows

    14/15

    MySQL-Workbench Performance Tab

    This is a new section available from MySQL 5.6 onwards

  • 7/25/2019 MySQL 5 6 and Workbench OnWindows

    15/15

    Once the installation is completed you can verify what were installed. You can see here that

    VC++ 2010 was installed by the installer. We did not manually install that

    That's all ! you get a working MySQL-Workbench too to play around !

    Software Download Links

    http://dev.mysql.com/downloads/windows/installer/5.6.html

    Download "mysql-installer-community" but not web-community from the above link

    Download the below (64bit) :

    The Microsoft.NET 3.5 offline installer (although .NET 4 is required, it does need .NET 3.5

    first)

    https://www.microsoft.com/en-US/download/details.aspx?id=25150

    The Microsoft.NET 4 Client full (offline Installer)

    https://www.microsoft.com/en-US/download/details.aspx?id=17718

    Microsoft VC++2013 Redistributable

    https://www.microsoft.com/en-US/download/details.aspx?id=40784

    Do not forget to select to select "vcredist_x64.exe", for it is a "x64" installation

    MySQL-Workbench ZIP Download

    http://dev.mysql.com/downloads/workbench/

    From the above link download the below one (ZIP)

    http://dev.mysql.com/downloads/windows/installer/5.6.htmlhttp://dev.mysql.com/downloads/windows/installer/5.6.htmlhttps://www.microsoft.com/en-US/download/details.aspx?id=25150https://www.microsoft.com/en-US/download/details.aspx?id=25150https://www.microsoft.com/en-US/download/details.aspx?id=17718https://www.microsoft.com/en-US/download/details.aspx?id=17718https://www.microsoft.com/en-US/download/details.aspx?id=40784https://www.microsoft.com/en-US/download/details.aspx?id=40784http://dev.mysql.com/downloads/workbench/http://dev.mysql.com/downloads/workbench/http://dev.mysql.com/downloads/workbench/https://www.microsoft.com/en-US/download/details.aspx?id=40784https://www.microsoft.com/en-US/download/details.aspx?id=17718https://www.microsoft.com/en-US/download/details.aspx?id=25150http://dev.mysql.com/downloads/windows/installer/5.6.html