MySQL

MySQL is a leading open-source DBMS. It is fast, stable, and supports large databases. MySQL is known for its speed but is missing some important SQL features. (Version 4.1 promises to add subqueries and foreign keys.) MySQL runs on many operating systems and hardware platforms and is free for personal use; you can download it from www.mysql.com.

This book covers MySQL 4.0. To determine which version of MySQL you are running, type SELECT VERSION(); at a mysql prompt and press Enter.

You can use the mysql command-line utility to run SQL programs.

To use the mysql command-line utility interactively:

1.
At a command prompt, type:
mysql dbname
							
dbname is the name of the database to use.
2.
Type an SQL statement. The statement may span multiple ...

Get SQL: Visual QuickStart Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.