1. Create a temporary directory called mysqltem.
2. Unzip the file to this directory.
3. After unzipping is over, you’ll find a file called “setup.exe”.
4. Close all programs
5. Click on Start – Run and browse to the setup file in mysqltem.
6. Click “OK” to proceed
7. The setup program loads and guides you through the installation process.
8. Choose the “Typical” installation, unless you know what you want!
9. MySQL would be installed in c:\mysql (unless you specified some other directory).
10. Restart Windows.
11. Start an MS-DOS session and migrate to c:\mysql\bin
12. Now, type the following at the prompt:

13. mysqld-shareware –standalone
15. OR (in later versions)
16. mysqld
This starts the MySQL server.
17. Type “mysql” (without the quotes) at the DOS prompt.
18. The prompt is changed to the “mysql” prompt.
19. To test the MySQL server, type “show databases;” at the prompt.
20. This should display something like:

21. +—————-+
22. | Database |
23. +—————-+
24. | mysql |
25. | test |
26. +—————-+
27. 2 rows in set (0.00 sec)

If you see the above… congrats… you have sucessfully installed MySQL on your system.
28. Type “quit” at the mysql prompt.
29. You are now back to the MS-DOS prompt.
30. Since our work is done (for the time being), we should shut the MySQL server. Issue the following command at the prompt.

31. mysqladmin -u root shutdown

Post By Editor (2,827 Posts)

Website: →