Ροή

Πώς να εγκαταστήσετε την MySQL Database Server σε Windows.

techne

Administrator
Joined
27 May 2010
Μηνύματα
1,157
Βαθμολογία
24
Points
38
Website
www.eltube.gr
Πώς να εγκαταστήσετε την MySQL Database Server σε Windows

attachment.php


1. If you havn't done so already, download the free MySQL Server Community Edition -- you can download the software from the MySQL website. Be sure to download the Windows (x86) version (way at the bottom of the page), which includes a Windows Installer. Save the file on your Windows Desktop.
2. It's time to install MySQL. The installation file comes as a .zip file. Double click the file. Your unzipping software should open the file and show you a list of files inside the archive. There should be only 1, "Setup.exe". There is no need to extract the file from the archive, just go ahead and double click the "Setup.exe" file. After you've done that, you should see a window that looks like this:



MySQL Install Window

Click "Next>".

3. On the next window, click the radio button "Custom", and then click "Next>". Since we have installed Apache in C:\Server, we are going to install MySQL in the same directory.

4. On the next window, highlight "MySQL Server", and then click the "change" button.

5. On the next window, in the text box "Folder name:", change the directory to "C:\Server\MySQL\". Make sure you include the ending backslash. Then click "OK".
6. On the next window, click "Next>".
7. Now MySQL is ready to install. You should see a window that looks like this:



MySQL Ready to Install

8. Click "Install".

9. Once the installation is complete, you will be presented with a "MySQL Sign-Up" window. Click the radio button "Skip Sign-Up", and then click "Next>". You can sign-up for MySQL.com later if you like.

10. If the installation was successful, you should see a window that looks like this:


MySQL success

11. MySQL was successfully installed. Now we want to configure it. Leave the check box "Configure the MySQL Server Now" checked, and click "Next>". After you do that, you should see a window that looks like this:



MySQL Configure

12. Click "Next>".

13. On the next window, click the radio button "Standard Configuration", and then click "Next>".

14. On the next window make sure "Install As Windows Service" and "Launch the MySQL Server Automatically" check boxes are checked. Click "Next>".

15. On the next window you need to create a root password. Type in what you want your root password be and make sure "Enable root access from remote machines" is checked. Make sure you choose a difficult to guess password and write it down so you don't forget it. Click "Next>".

16. On the next window, click "Execute". This will start the MySQL server. After MySQL has done its thing, click "Finish".
17. Now we need to make sure MySQL was in fact installed sucessfully. On the Windows task bar, click "Start">"All Programs">"MySQL">"MySQL Server 4.1">"MySQL Command line client".
18. This will open a command window that is asking you for a password. Enter the password that you chose as your root password. Hit enter and you should see a window that looks like this:




MySQL Command Line Client

19. And that's it, you're done installing MySQL.​
 
Top Bottom