Navigation:  Setup > Configure MySQL Server >

Windows XP Firewall Settings

Top  Previous  Next

If you are installing MySQL on a Windows XP workstation, or any other computer that has a firewall enabled, and the wizard fails with an error message similar to the one shown below (Can't connect to MySQL server on 'localhost'), then you will have to exclude the MySQL daemon from your firewall configuration.

 

connection_error

 

On Windows XP, you can exclude MySQL from the firewall by following the steps below:

 

1.Navigate to Start -> Settings -> Control Panel -> Windows Firewall

 

fw_step1

Select the Exceptions tab and click Add Port

 

2.In the resulting dialog, enter the information as shown in the screenshot:

 

fw_step2

 

After clicking OK twice, return to the MySQL error message and select Retry. MySQL should now be able to create the instance correctly.