Environment Consistency – MySQL (Windows)
We need to make our life easier by creating consistency for every machine. What this means is every machine you try to use, whether it be yours or your colleagues, the environment will be the same when you sit down to help them with something. This is very important if you’re a Development Manager and you’re trying to help one of your staff.
This is one of several posts in regards to this subject.
I really don’t use MySQL too much. At work, I have Oracle and Sybase. But I think I’m going to use it in the example code that I post later. Because we’ll be using Hibernate, for the most part, it really doesn’t matter. Hibernate hides the nuances of each type of database from us (for the most part). Anyway, the real reason has to do with the fact we’ll be installing PHP (which we’ve already done for the Apple Macintosh in an earlier post and we’ll be doing for Windows in a later post). We’ll also need it for WordPress which we’ll also be addressing in a later post.
Here we’re going to install MySQL for Windows. We’ve already installed it for the Apple Macintosh in an earlier post.
First off, we need the binary. We’ll go to the MySQL website to download the 5.1 MySQL version file called “mysql-essential-5.1.41-win32.msi”. After we’ve gotten the file downloaded double click it and we’ll see this window.
Note: You may have downloaded the 64 bit version of MySQL which is completely fine.
Click “Run” and you’ll see this window:
Click “Next >” and you’ll see this window:
Click on the “Custom” radio button and click “Next >”. You will see this window:
There’s no reason not to leave the defaults so click “Next >” and you’ll see this window:
Click “Install” and you’ll see a window similar to the following:
Once the software has completed installing you’ll see the following window:
Click “Next >” here and you’ll see this window:
Click “Next >” again and now you’ll see this window:
I deselect the “Register the MySQL Server now” but you can leave it checked. It’s up to you. Now click “Finish” and you’ll see this window which is the configuration wizard:
Click “Next >” and you’ll see this window:
Leave “Detailed Configuration” checked and click “Next >” and you’ll see this window:
Leave “Developer Machine” checked and click “Next >” and you’ll see this window:
Leave “Multifunctional Database” checked and click “Next >” and you’ll see this window:
I’m leaving the defaults selected on my machine but you may want to put the database on a different disk if you have one. Click “Next >” and you’ll see this window:
Leave the default of “Decision Support (DSS)/OLAP” selected as we won’t be making a lot of concurrent connections to our machine while we’re developing software. Click “Next >” and you’ll see this window:
You’re probably behind a firewall on a corporate LAN so you should be OK to leave these defaults (the port specifically). Click “Next >” and you’ll see this window:
We may do some multi-lingual development so let’s change this to “Best Support for Multilingualism” and the window will look like this:
Click “Next >” and you’ll see a window like this:
We want to keep “Install As Windows Service” checked so that MySQL will start up for us automatically. And we’re also going to check “Include Bin Directory in Windows PATH”. The window should look like this:
Click “Next >” and you should see this window:
Enter a “New root password:” and “Confirm:”. We then click “Next >” and will see this window:
Click “Execute” and you’ll see a window similar to this:
When it’s finished, you should see this window:
Click “Finish”. Let’s reboot and the system should come up with MySQL started and everything in place.
When that’s done, let’s start up a command window by clicking on “Start” and then “Run” and typing “Cmd”. You should see a window like this:
Click “OK” and you should see a window like this:
Type in the following
mysql -u root -p
and you should see a window like this:
Enter the password that you chose for your root password and you should see a screen like this:
And you’re done! You’ve now got MySQL installed.
-
Recent
- HSQLDB – What a piece of …..
- Environment Consistency – Apache HTTP Server (Windows)
- Environment Consistency – MySQL (Windows)
- MAMP
- Environment Consistency – Verify PHP to MySQL Connectivity (Apple Macintosh)
- Environment Consistency – PHP/MySQL Configuration (Apple Macintosh)
- Environment Consistency – MySQL (Apple Macintosh)
- Environment Consistency – PHP (Apple Macintosh)
- Environment Consistency – Sync Directories
- Environment Consistency – Directories (Windows)
- Environment Consistency – Directories (Apple Mac)
- Environment Consistency – NetBeans (Windows)
-
Links
-
Archives
- June 2010 (1)
- January 2010 (1)
- December 2009 (4)
- November 2009 (5)
- October 2009 (5)
- September 2009 (1)
-
Categories
-
RSS
Entries RSS
Comments RSS



























