Datasheet

Configuring Your MySQL Installation
MySQL needs TCP/IP protocols to run properly, regardless of the Windows environment. You must
install TCP/IP before you can continue if it is not already on your computer. (Most computers have this
set up already by default.) In Windows, this will be under your Control Panel Network Settings, and
in Linux, this is under your
/proc filesystem.
Testing Your Installation
As with the other applications, it’s a good idea to test your installation. You can do this from a DOS
prompt so that you can view any error messages your MySQL server encounters.
Follow these steps to test your installation:
1. For Windows 95/98/Me, at the DOS prompt, change directories until you are in the MySQL
server main directory (the default is
c:\mysql\bin\). Then type
c:\mysql\bin>mysqld
For Windows 2000/XP/NT, at the DOS prompt, change directories until you are in the MySQL
server main directory and type
C:\>C:\mysql\bin\mysqld --install
You should see a screen that looks similar to the one shown in Figure 1-3.
Figure 1-3
2. To start the MySQL server, type the following:
c:\>NET START MySQL
Your screen will look like the one shown in Figure 1-4.
17
Configuring Your Installation
04_579665 ch01.qxd 12/30/04 8:09 PM Page 17