MYSQL INSTALLATIONThe
MySQL version we are installing is
version 5.0. Version 4.X maybe more stable and more familiar to most developers, but the belief of using the newest and most competent version is the only justification for version 5.0's use in the target environment.
The installation file name for the version 5.0 is mysql-5.0.15-win32.zip.
Since you'll be at the site downloading the MySQLadmin mysql-administrator-1.1.5-win.msi.
Now that we have the download the installation steps are listed below:
- Unzip mysql-5.0.15-win32.zip to our staging directory c:\Scratch which reults in a full directory path of C:\Scratch\mysql-5.0.15-win32
- Launch C:\Scratch\mysql-5.0.15-win32\Setup.exe
- Follow the steps of the setup installer.
- Select custom installation
- Install to C:\Servers\MySQL5.0\
- Add Script Examples (Figure 4)
Selecting script examples provides reasonable study information.
Figure 4 You can choose this if you like. It is ignored in this section for obvious reasons.
Figure 5
Lets go ahead and configure the system now. Essentially, in windows we will make this a webservice and automatically have it start. If you are running SQL Server, postGres etc.... You'll have to make a decision if you would like this installed as a service.
Now lets check our installation via the start bar MYSQL Addition.
Next step is to check the validity and accurate installation.
Execute the MYSQL shortcut. You'll be prompted for a password. Enter your password.
Enter show databases:
mysql> show databases;+--------------------+
| Database
+--------------------+
| information_schema
| mysql
| test |
+--------------------+
3 rows in set (0.00 sec)
mysql> use test;
Create a table foo in Database "test"
mysql> CREATE TABLE foo (a TINYINT NOT NULL);
Query OK, 0 rows affected (0.58 sec)
mysql> show tables;
+----------------+
| Tables_in_test
+----------------+
| foo
+----------------+
1 row in set (0.00 sec)
NOTE: If you received the results above MySQL is installed correctly
MYSQL ADMIN INSTALLATIONMySQL's admin tool is a fairly new tool and provides a better interface than the standard MySQL.exe. The installation is fairly simple and
will require the username and password that was created in the MySQL DB installation.
Goto the folder
C:\Scratch\MySQLAdmin and execute the
mysql-administrator-1.1.5-win.msi installation. Install the Tool in the following directory:
C:\Servers\MySQL\MySQL Administrator 1.1\tags: open source sos sensible open source open office java j2ee jetty mysql windows
links: digg this del.icio.us technorati reddit