Web Tutorials     [RO]  [EN]  
| HOME | Tutorials | News | SERVICES | Directory | Tools | FORUM | About | SITE MAP | CONTACT | SEARCH |
.....................................................
.....................................................
User happy birthdayToday we celebrate one day of birth.
(dannyb0y)
.....................................................
Login
Register
I forgot my password
.....................................................
HangMan Online Game
.....................................................
Online
In total there is
9 visitors online,
of which:
9 are bots
.....................................................
Put your ad here
.....................................................
.....................................................
.....................................................
.....................................................
.
Home - Installing MySQL on Windows

<< Install Apache on Windows   -   Minifying and gzipping CSS on the run with PHP >>
Rate this article(Members only)
1 2 3 4 5
A - A Announced this way the site administrator for any problems observed on this page.  Print this page as PDF  Email  

Installing MySQL on Windows


Publishing date: 02-02-2011 - Copyright © Liviu H.

Good, the last time we came up on the installation of Apache on Windows. Today we see how to install MySQL on Windows in the series of articles Installing Apache, MySQL and PHP.

MySQL ... what is it?

Wikipedia says:
MySQL is a management system for relational databases, produced by the Swedish company MySQL AB and distributed under the GNU General Public License. The most popular open-source DBMS currently is a key component of the LAMP stack (Linux, Apache, MySQL, PHP).

MySQL is an integrated component of the LAMP and WAMP platforms (Linux / Windows-Apache-MySQL-PHP / Perl / Python). Its popularity as a web application is closely linked to that of PHP, which is often combined with MySQL and nicknamed the Dynamic Duo. In many specialized books is pointed out that MySQL is much easier to learn and use than many of the applications, database management, command output example is a simple and obvious: "exit" or "quit."

We will install the version of Community Server version that is offered free of charge. By the time I wrote this article, the latest stable version was 5.1.1942 sources we get here, we are interested mysql-01.05.1942-win32.msi (104.8 MB)

I got the kit, it will now install.

Step 1 (not appropriate to say that by double click on kits)

1

Step 2 - choosing the type of installation

2

We will go on they would choose Typical for all defaults and general. In short, it will install everything you need to have installed a database server running. Complete version will install everything and the Custom option will allow you to choose what and how it will be installed.

Step 3 - review

3

The installer will present an overview of what is going to run.

Step 4 - the actual installation

4

Step 5 - creating MySQL.com account (optional)

5

If you want to register for the MySQL community, now you can. If not, go to the window and get away Next to the next step.

Step 6 - Finish the install

6

At this time the installation completed successfully, all were copied on to their seats. Now you have two options you can follow:

  • Server configuration
  • registration server (option will allow you to receive automatic notification in case of update and other wonders.)

We will continue with "Configuring the Server", aka the first tick. Click Finish.

Step 7 - the start configuration

7

Step 8 - configuration choice

8

We have two options here:

  • Detailed configuration - will allow you to choose and configure various parameters in detail - is more complex version
  • Standard configuration - choose this option only if you first install MySQL on your computer - this case

Choose Standard Configuration and give them the next.

Step 9 - operating system options

9

Two options:

  • Install As Windows Service - which means that MySQL will run as a Windows service
    • Service name - name of the service, you can leave the default - MySQL
    • Launch the MySQL Server automatically - will honor the server to start automatically when starting and operating system, which is ok, that we want.
  • Include Bin Directory in Windows PATH - this option will allow us to call the command line (prompt), I recommend you check this option, you will surely need it later.

Step 10 - Security settings

10

At this stage we have the opportunity to create a password for the user runs the service, indicated otherwise, even if you run on your personal computer. So you can fill in your password, then login as root with your_password.

  • Enable root access from remote machines - well, here's your choice if you can connect to the server with root privileges, but using another computer - my advice is do not choose this option.

Here you can create an anonymous account, but this could lead to security problems, so there is no option to check that. Go to Next

Step 11 - Completion of configuration and application options previously chosen

11

Now you can click Finish.

That was it. At this time of the personal computer, a server fully functional database. To convince yourself, like this:

1. opens an instance of command line (Start - Run - cmd for Windows XP or Start - run cmd and search it for Vista or 7)

12

2. Write to the prompt: mysql-u root-p and hit Enter

13

You will be asked to enter the password that you mentioned earlier, in configuration.
After you enter the password you have something like

14

To finish the session, close the window or type exit and press Enter.

And voila, we have MySQL parameters.

If you want to deepen what is MySQL, you have

Note: setting up the story was done on a version of Windows 7, but the same thing in the sea, and on XP or Vista. I went into the details of operating systems that are not covered by this article. Basically, if your OS security questions, answer them "yes, I agree that MySQL ... to my operating system"

PS: I assume no liability for any damage caused by improper installation, or with a kit obtained from elsewhere than the official site indicated at the beginning, I do not know or could not go to your personal computer.
Opinions / suggestions / comments are welcome.

Publishing date: 02-02-2011 - Copyright © Liviu H.   
Click here if you want to see other articles by the same author

There are 3 similar articles, click here for list.

There are no comments on this article. Be the first to say your opinion.

Add a comment on this article (members only - login on the site):
Put your ad here