Skip to Content
MySQL Building User Interfaces
book

MySQL Building User Interfaces

by Matthew Stucky
July 2001
Intermediate to advanced content levelIntermediate to advanced
656 pages
14h 22m
English
Sams
Content preview from MySQL Building User Interfaces

The Whirlwind Tour: Creating, Accessing, and Dropping a Database

Listing 1.1 is a very simple terminal session for creating a database and then a table, entering some rows, and then dropping the database.

Listing 1.1 also serves as an introduction to how code is presented in this book. In some of the code listings (like this one), you see the entire source code with line numbers to the left for reference. Don’t type the line numbers in your source.

Listing 1.1. Creating, Accessing, and Dropping a Database
 01 % mysql 02 mysql> show databases; 03 +----------+ 04 | Database | 05 +----------+ 06 | mysql | 07 | test | 08 +----------+ 09 2 rows in set (0.00 sec) 10 11 mysql> create database test_db; 12 Query OK, 1 row affected (0.00 sec) 13 14 mysql> ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Applications on pSeries

Linux Applications on pSeries

Dr. Jan-Rainer Lahmann, Luis Ferreira, Janethe Co, Bjorn Roden
.NET Core in Action

.NET Core in Action

Dustin Metzgar

Publisher Resources

ISBN: 073571049XPurchase book