MySQL

From Commander4j Wiki
Revision as of 07:45, 16 September 2012 by Dgarratt (Talk | contribs) (Created page with "Installing mySQL is not difficult, but can be tedious and time consuming depending on the version of Windows you are running and how many of the pre-requisites you have alread...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Installing mySQL is not difficult, but can be tedious and time consuming depending on the version of Windows you are running and how many of the pre-requisites you have already got installed. The following instructions will go through the installation of mySQL Server and mySQL Workbench and include all the potential supporting installs like .NET Framework.

The 1st step is to download the software. I am demonstrating here using a Windows installation on Server 2003. The files that I have downloaded are the mySQL server software and the Workbench




Mysql win files.jpg

The 1st step is to install the mySQL server software.



Mysql win setup1.jpg

The mySQL welcome screen should appear initially, click on next to continue.



Mysql win setup2.jpg

Read and agree to the license agreement (if you want to continue).



Mysql win setup3.jpg

For this example I have selected the "Typical" installation.



Mysql win setup4.jpg

Click on the "Install button.



Mysql win setup5.jpg

The install should copy the required files now.



Mysql win setup6.jpg

Once it has completed click on the Next button.



Mysql win setup7.jpg

Click on Next again.



Mysql win setup8.jpg

Now click on Finish.



Mysql win setup9.jpg

The installer will now load the configuration program, click next.



Mysql win setup10.jpg

Select "Standard" Configuration an click Next...



Mysql win setup11.jpg

Select the options as show above and click Next...



Mysql win setup12.jpg

Select a password for the "root" user account. I find it more convenient to also allow remote access for the root user, but this is not mandatory. Click Next to apply the settings..



Mysql win setup13.jpg

The program will then configure the service...




Mysql win setup14.jpg

Once the settings have been applied you can click Finish with will close the program.

You have now installed mySQL - however you still need to create a user account and schema for Commander4j to use. You can do this using mySQL command line tools, but I find the mySQL Workbench utility a handy tool to have and easier to use if your not familiar with mySQL. Unfortunately the WorkBench program can be a little temperamental to install. For instructions on how to install mySQL Workbench click on this link.

Once you have installed mySQL Workbench by following the link above you are ready to create a database user for the application to run against. Make sure the Workbench is loaded and perform the following steps

File:Mysql config1.jpg

File:Mysql config2.jpg

File:Mysql config3.jpg

File:Mysql config4.jpg

File:Mysql config5.jpg

File:Mysql config6.jpg

File:Mysql config7.jpg

File:Mysql config8.jpg

File:Mysql config9.jpg

File:Mysql config10.jpg

File:Mysql config11.jpg

File:Mysql config12.jpg

File:Mysql config13.jpg

File:Mysql config14.jpg

File:Mysql config15.jpg

File:Mysql config16.jpg

File:Mysql config17.jpg

File:Mysql config18.jpg

File:Mysql config19.jpg

File:Mysql config20.jpg

File:Mysql config21.jpg