Installing MySQL on Windows Vista

So you have installed and got PHP running on Vista/IIS 7, the next thing to do is to install MySQL. I had some issues with MySQL 5.0.51a so I stuck with MySQL 5.0.45.

Download a copy of MySQL from:

http://downloads.mysql.com/archives/mysql-5.0/mysql-5.0.45-win32.zip

Before you run the setup you will need to disable the User Account Control (UAC)

  1. Open Control Panel in classic view
  2. Select User Accounts
  3. Click on Turn User Account Control on or off
  4. uncheck Use User Account Control and then click on OK
  5. Accept the restart message

Note you can enable this once everything has been installed.

Now your ready to go ahead with the MySQL installation.

Locate and extract the file you downloaded. Run Setup.exe

Follow the bellow screen shots, to enlarge click on them, if you hover your mouse over you will be given a description of what to do.

Click Next Select Typical Click Install Leave Checked and Click Finish Click Next Select Standard Configuration Install as Windows Service Set Root Password, Enable Root Access from remote computers is Optional Click Execute, If you get an error on Applying Security Settings Click Retry Click Finish

If you get an error message on the Applying Security Settings click on Retry. this message is more than likely due to the service not starting quickly enough. It will work if you hit the retry button it did for me.

Install the MySQL Administrator

  1. Download the GUI Tools (Windows x86) from: http://dev.mysql.com/downloads/gui-tools/5.0.html
  2. Install just as you would do with any other install (next, next, accept the license agreement etc...)
  3. Run the MySQL Administrator:
    Click Start, All Programs, MySQL, MySQL Administrator
  4. Fill in the details as show below (click to enlarge)
    Enter in the Server Host Name (localhost), username (root) and the password you set earlier 
  5. To create a new database in the MySQL Admin Select Catlogs:
    create DB1
  6. Right Click in the white area under the other Schemas
    create DB2
    Select Create Schema
  7. Give that new Schema a name and there you go, you have just created a new MySQL Database

  Add to Technorati Favorites StumbleUpon Toolbar

  1. Gravatar
    Fab 4/6/2008 12:29 PM

    # re: Installing MySQL on Windows Vista

    Thanks for this small tutorial!
    I managed to install mysql... but it fails for the Gui Tools (does not find the package.cab files ?).

  2. Gravatar
    Andrew Kemp 4/6/2008 1:09 PM

    # re: Installing MySQL on Windows Vista

    Hey Fab, glad it was useful, to the extent of installing it.
    I had a similar problem with the GUI tools when I installed 5.0.51a so that is why I stuck with the 5.0.45 build of MySQL. which version were are you trying to install?

  3. Gravatar
    Fab 4/6/2008 8:27 PM

    # re: Installing MySQL on Windows Vista

    It's mysql-gui-tools-5.0-r12-win32
    Which version worked for you for the GUI Tools part ?

    For MySQL I also installed mysql-5.0.45-win32.zip .

    Thanks.

  4. Gravatar
    Andrew Kemp 4/9/2008 7:44 AM

    # re: Installing MySQL on Windows Vista

    Hi, what error message are you getting? My tools installed fine it was the actual Database Server I had problems with. I'll check my setup but I am pretty sure that it is the latest version of the tools I am using.
    Sorry I could not be of much help on this bit. Let me know what error message your getting and we can see where to go from there.
    Cheers
    Andy

Leave a reply

Title *

Name *

Email

Url

Comment *  

Please add 3 and 6 and type the answer here: