SLIDE 1
SSE 3200 Mysql lab
Introduction
SQL (Structured Query Language) is a standard language for creating, accessing, and manipulating
- databases. A database is a collection of tables. Each table consists of several rows of data called
- records. Records in a table have special fields called keys to facilitate fast access.
Getting started
The database server runs on the machine called orion. You will start Mysql on orion. In the commands substitute your account for “nilufer”.
- 1. Open a terminal window and log on to orion.
ssh orion.csl.mtu.edu
- 2. Start mysql with your username and have it prompt for a password.
[nilufer@orion ˜]$ mysql -unilufer -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 19819 Server version: 5.0.37 Source distribution Type ’help;’ or ’\h’ for help. Type ’\c’ to clear the buffer. mysql>
- 3. Display the databases that you have access to.