Installing MySQL
The screenshots on the installation page were from version 4.1 (I was installing 5.5), but they still pretty close to the mark. The recommendation to select "Standard Installation" from the Server Instance Configuration Wizard was a bad one because it hung. The default selection for custom installation worked better, not least because it automated the addition of the correct port to the Windows firewall.
Another reason the installation hung on my machine was AVG blocking the wizard, and it was not immediately obvious how to turn it off. After search for a forum post, it turns out I had to open Resident Shield, Advanced Settings, from the main console (see below).
The installation page in wikihow seemed to think there would also be a menu item to Start MySQL in the command line, which there wasn't. However, the How to Send sql Queries to MySQL page had the syntax required to start mysql.exe straight from the command line.
In my case I was logging in as the root so the command was:
D:\Documents and Settings\Jonno>mysql -u root -p
During the setup I had opted to have the path to the MySQL binaries folder added as an environment variable, which is why I could run the command from my Windows home folder. The response came back:
Enter password: *******
I put in my password and got:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.5.9 MySQL Community Server (GPL)
Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
I didn't want to enter any sql from the command line, so I entered:mysql> exit
And got a very polite:
Bye
D:\Documents and Settings\Jonno>
Thus ended the lesson.
Comments