next up previous
Next: Creating an Example Database Up: p1 Previous: Introduction

Interactive SQL

We will use the MySQL DBMS interactively. Tutorials and online documentation for MySQL is readily available, e.g. via a web search (Google/whatever).

An account has been created for you under your Linux username, <username> below. Start your MySQL client by typing:

mysql -u <username> -D <username> -h mysql-server-1 -p

Enter your MySQL password, which is initially also your Linux username.

You can leave MySQL by typing

\q
at the command prompt.

Phil Trinder 2011-10-14