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

Creating the Database

The KBI database has to be created (see Listing 11.1). It keeps its own user-login permissions, as well as the data for Reports 2 and 3. (Reports 1 and 4 will use existing data from the WCA application’s commish database.)

First, create the database by launching mysql and issuing the following command at the mysql> prompt:

create database kbi; 
Listing 11.1. Creating the KBI Database
use kbi; 

/* The first thing to do is to create the table of authorized users.
						* This table is just the user name; no password is required
						* for the KBI application.
						*
						* usage:
						*
						* % mysql -t < listing.11.1 
 */ drop table if exists tbl_authorized_users; create table tbl_authorized_users ( user_name varchar(20) ); insert into tbl_authorized_users ...
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