Академический Документы
Профессиональный Документы
Культура Документы
Disconnect the machine from any network (if it is on any Local Area Network), isolate the machine
Stop or Disable any antivirus setup running on the local machine ( which is why the machine must be
isolated)
Set the Windows Firewall - OFF. Stop all windows security on the local machine.
Navigate to the folder where the MySQL .msi which is the MySQL installer exists.
Run the .msi to setup MySQL Server 5.5.9 by double clicking it.
For the installation steps, refer to tutorial MySQL Installation which is covered on this website.
Right at the very end of the install / configuration process, the following will happen:
Preparation configuration successful
Configuration file written successfully
The MySQL Server Instance service started successfully
BUT
When applying security settings the configuration process will fail
NOTE: There is a bug in Version 5.8.8 that prevents security application to the MySQL instance.
The following window will appear during the MySQL 5.5.9 installation process as shown in Diagram 1.
The Error Message is as shown in diagram 1.
The security settings could not be applied to the database because the connection has failed with following
error. Error Nr:1364Field authentication_string doesnt have a default value message will display as shown
in Diagram 1.
Follow these simple steps to successfully overcome this issue.
Click on Skip to close this window.
Diagram 1
The MySQL Server Instance Configuration wizard opens as shown in Diagram 2.
Open Source Varsity. All Rights Reserved. Tel: 022 26124533 Email: ivan@ivanbayross.com
Diagram 2
At the desktop Click > Start > Run as shown in Diagram 3.
Diagram 3
In the run text-box enter the command cmd as shown in Diagram 4.
Diagram 4
Open Source Varsity. All Rights Reserved. Tel: 022 26124533 Email: ivan@ivanbayross.com
Diagram 5
Before working with data held within a table it is necessary to inform the MySQL db engine which database holds
the tables. The USE command specifies which database the MySQL db engine should set as active.
Use the mysql database as shown in Diagram 7.
mysql> USE mysql;
Database changed
Diagram 7
Open Source Varsity. All Rights Reserved. Tel: 022 26124533 Email: ivan@ivanbayross.com
`authentication_string`
`authentication_string`
TEXT
Diagram 8
Quit the command line as shown in Diagram 9.
mysql>exit;
Bye
Diagram 9
Now you rerun the Instance Configuration wizard by navigating to Start > All Programs > MySQL > MySQL
Server 5.5 > MySQL Instance Configuration Wizard as shown in Diagram 10.
Diagram 10
The MySQL Instance Configuration Wizard opens as shown in Diagram 11.
Click on Next to continue with the configuration of MySQL Server 5.5 server instance.
Open Source Varsity. All Rights Reserved. Tel: 022 26124533 Email: ivan@ivanbayross.com
Diagram 11
Select the maintenance option as shown in Diagram12.
Select Reconfigure Instance option to create a new configuration for the instance.
Click on Next to continue with the configuration wizard process as shown in Diagram 12.
Diagram 12
Open Source Varsity. All Rights Reserved. Tel: 022 26124533 Email: ivan@ivanbayross.com
Diagram 13
Check the checkbox of Include the Bin Directory in Windows PATH and click on Next as shown in Diagram 14.
Diagram 14
Open Source Varsity. All Rights Reserved. Tel: 022 26124533 Email: ivan@ivanbayross.com
Diagram 15
The security settings would now successfully be applied to MySQL as shown in Diagram 16.
Diagram 16
MySQL 5.5.9 will now successfully be installed on your system.
Open Source Varsity. All Rights Reserved. Tel: 022 26124533 Email: ivan@ivanbayross.com