1. Trang chủ
  2. » Công Nghệ Thông Tin

database design manual using mysql for windows 2004

221 478 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 221
Dung lượng 7,18 MB

Nội dung

[...]... data Figure 1.1 illustrates how a request to the database has to go through the DBMS first, and cannot go directly to the database itself MySQL Databases MySQL can control several databases at once For instance, when you install MySQL, the system creates the system database which is named mysql This database contains all of the Chapter 1 • MySQL and Databases User Request 3 DBMS User Request Data bases... Do this by typing: mysql 14 Database Design Manual: using MySQL for Windows Figure 2.6 Viewing the my.ini file You should now be beginning to see the results as shown in Figure 2.7 The next task is to connect to a database within MySQL MySQL has some system databases built in, so we will use one of these for now Type: connect mysql You should now be connected to the database, and all that remains is to... this screen will appear for a few moments and then hide itself We will return to this screen later The first time it is run the MySQL service will prompt you for some user credentials for the administrative user We need to provide a username and password so use the following: User: Password: root sasquatch 12 Database Design Manual: using MySQL for Windows Figure 2.3 The first MySQL admin screen If you... have a 9 10 Database Design Manual: using MySQL for Windows Figure 2.1 Beginning MySQL server setup setup program like the main server All you need to do to run it is to find the mysqlgui.exe file and double click when you need to run it We can now begin exploring our installation MySQL Directory Structure Figure 2.2 shows the directory structure that the MySQL setup installs Figure 2.2 The MySQL server... another table These two tables are therefore related to each other They are related in that an entry in one table is a key to an entry in another Most databases claim to be relational ones There is much debate as to what makes a database relational or not, and many claims that a database system is relational are dis- 6 Database Design Manual: using MySQL for Windows puted by others We will not go into... use of a MySQL server and client and how to access, use and secure this system MySQL and PHP originally appeared on the Linux platform, so many books deal with it from a Linux perspective This book will teach you about installing and using MySQL on the Microsoft Windows platform However, much of the theory behind the software will be of use whatever platform you are using About MySQL The MySQL website... the following chapters 19 20 Database Design Manual: using MySQL for Windows Numeric Types A numeric datatype is used to store numbers There are normally specific functions that you can perform on numbers and on most numeric datatypes Integers An integer is an exact whole number For example, the numbers 1 to 10 are all integers If we are creating unique IDs for rows in our database, the ID field is usually... Online MySQL Manual If you need quick online reference about MySQL you can use the manual files that are included in the installation By default these are installed at: C: \mysql\ Docs The files of note in this directory are: • • manual_ toc.html manual. html The manual_ toc.html file is a web document that indexes the main manual. html file Searching this usually provides the answer that you are looking for If... connection, you can easily obtain MySQL and associated tools at no cost This book will also be of benefit to someone wanting to learn SQL While working through the examples you will get a firm understanding of the concepts behind structured query language and how you use it to communicate with databases 1 2 Database Design Manual: using MySQL for Windows If you are a web designer this book should also appeal... database In this book we will be using the mysql database to look at specific system functions, but all of the other data that we create will be stored in a database called mysqlfast MySQL can easily control more than one database, so to prevent your tables being confused with system data, it is best to separate them by using different databases Tables The database is a container to store your tables . alt="" Database Design Manual: using MySQL ™ for Windows Springer London Berlin Heidelberg New York Hong Kong Milan Paris Tokyo Matthew Norman Database Design Manual: using MySQL for Windows 1232 Matthew. system database which is named mysql. This database contains all of the 2 Database Design Manual: using MySQL for Windows data required to define any of the activities that MySQL has to perform Cataloguing in Publication Data Norman, Matthew, 1968- Database design manual : using MySQL for Windows 1. Database design 2. Relational databases 3. SQL (Computer program language) I. Title 005.7′565 ISBN

Ngày đăng: 10/04/2014, 09:06

TỪ KHÓA LIÊN QUAN