
Managing & Using MySQL
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Table of Contents
- Preface
- Audience
- Purpose
- Using This Book
- Conventions Used in This Book
- Comments and Questions
- Acknowledgments
- From Randy Yarger
- From George Reese
- From Tim King
- Part I
- MySQL
- Relational Databases
- The History of MySQL
- MySQL Design
- MySQL Features
- MySQL Applications
- What You Get
- Installation
- Preparation
- Unix Installation
- Binary (Tarball) Distributions
- Binary (RPM) Distributions
- Source Distributions
- Windows Installation
- Windows 9x Startup
- Windows NT/2000 Startup
- SQL According to MySQL
- SQL Basics
- The SQL Story
- The Design of SQL
- Sending SQL to MySQL
- Database Creation
- Table Management
- MySQL Data Types
- Numeric Types
- Character Types
- Binary Data Types
- Enumerations and Sets
- Other Kinds of Data
- Indexing
- Managing Data
- Inserts
- Sequence Generation
- Updates
- The WHERE Clause
- Deletes
- Queries
- Joins
- Aliasing
- Ordering and Grouping
- Basic ordering
- Localized sorting
- Grouping
- Limiting Results
- SQL Operators
- Logical Operators
- Null's Idiosyncrasies
- Membership Tests
- Pattern Matching
- Advanced Features
- Full Text Searching
- The Basics
- Relevance values
- Boolean mode
- Tips
- Transactions
- Table Locking
- Functions
- Date functions
- String functions
- Outer Joins
- Unions
- Batch Processing
- Command-line loads
- The LOAD command
- Pulling data from MySQL
- Database Administration
- Configuration
- File Locations
- File Content
- Server Startup and Shutdown
- Unix/Linux
- SVR4
- Other Unix
- Mac OS X
- Windows NT/2000
- Logging
- The Error Log
- The Binary Log
- The Slow Query Log
- Log Rotation
- Backup
- mysqldump
- mysqlhotcopy
- Recovery
- mysqldump Recovery
- mysqlhotcopy Recovery
- Table Maintenance and Crash Recovery
- Checking a Table
- Repairing a Table
- Scheduled Table Checking
- Part II
- Performance Tuning
- An Approach to Performance Tuning
- Application Tuning
- Host Application Tuning
- SQL Query Tuning
- Index guidelines
- EXPLAIN SELECT
- Other options
- Database Server Tuning
- Operating System/Hardware Tuning
- Security
- Database Security
- User Management
- Privilege Management
- GRANT and REVOKE
- The security tables
- Recovering from Password and Permission Problems
- System Security
- Operating System Security
- Hardware Security
- Network Security
- Network topology
- Encryption
- Direct compromise
- Application Security
- The Application Server
- User management
- Resource protection
- Client Applications
- Database Design
- Database Design Primer
- Database Entities
- Entity Attributes
- Data Model
- Normalization
- First Normal Form
- The Unique Identifier
- Relationships
- Second Normal Form
- Kinds of Relationships
- Refining Relationships
- More 2NF
- Third Normal Form
- A Logical Data-Modeling Methodology
- Physical Database Design
- Tables and Columns
- Foreign Keys
- Part III
- Database Applications
- Architecture
- Client/Server Architecture
- Application logic
- Fat and thin clients
- Distributed Application Architecture
- Web Architecture
- Connections and Transactions
- Connections
- Transactions
- Transaction isolation levels
- Using READ UNCOMMITTED
- Object/Relational Modeling
- Perl
- Introduction to DBI
- Basic Perl Example
- Setting Up the Database and Program
- Error Handling and Attributes
- Introducing Bind Variables and Optimizations
- DBI and CGI
- Introduction to Perl CGI
- The Model/View/Controller Methodology
- A Sample CGI/DBI Program
- A General Model for Maintainable Perl Programs
- A Model for Relational Data
- Implementing the Model
- The Publisher class
- Methods that build and execute SQL
- Methods that handle WHERE clauses
- Getter/setter methods
- Primary key select method
- Constructors
- The DB class
- The mysql class
- The Cache class
- Example of the Model's Use
- Python
- DB-API
- The Database Connection
- Cursors
- Parameterized SQL
- Other Objects
- Proprietary Operations
- Applied DB-API
- PHP
- Introducing PHP
- A Short Language Primer
- Installing PHP
- Getting Started Under Unix
- Installation problems
- Getting Started Under Microsoft Windows
- Accessing the MySQL DBMS with PHP
- The Wedding Gift Registry Database
- Opening and Using a Database Connection
- Handling Results
- Frequently Used MySQL Library Functions
- Handling MySQL Errors
- Include Files
- Securing User Data
- Managing Sessions
- Writing Data with PHP
- Using the HTML &form& Environment
- Where to Find Out More
- C API
- API Overview
- The Connection
- Queries and Results
- Closing the Connection
- The C API in Practice
- Support Functions
- Quote Retrieval
- Adding Symbols
- Advanced Issues
- Java
- The JDBC API
- The JDBC Architecture
- Connecting to MySQL
- Data source connectivity
- Driver manager connectivity
- Maintaining Portability Using Properties Files
- Properties files
- Data sources revisited
- Simple Database Access
- Queries and Result Sets
- Error Handling and Clean Up
- Dynamic Database Access
- Metadata
- Processing Dynamic SQL
- A Guest Book Servlet
- Extending MySQL
- User-Defined Functions
- Standard Functions
- The init routine
- The main routine
- The deinit routine
- Aggregate Functions
- init
- reset
- add
- main
- deinit
- Aggregate example
- Calling a UDF
- Alternative Character Sets
- Simple Character Sets
- Complex Character Sets
- Part IV
- SQL Syntax for MySQL
- Basic Syntax
- Literals
- Identifiers
- Comments
- SQL Commands
- ALTER TABLE
- ANALYZE TABLE
- CREATE DATABASE
- CREATE FUNCTION
- CREATE INDEX
- CREATE TABLE
- DELETE
- DESCRIBE
- DESC
- DROP DATABASE
- DROP FUNCTION
- DROP INDEX
- DROP TABLE
- EXPLAIN
- FLUSH
- GRANT
- INSERT
- KILL
- LOAD
- LOCK
- OPTIMIZE
- REPLACE
- REVOKE
- SELECT
- SET
- SHOW
- TRUNCATE
- UNLOCK
- UPDATE
- USE
- MySQL Data Types
- Numeric Data Types
- BIGINT
- DEC
- DECIMAL
- DOUBLE
- DOUBLE PRECISION
- FLOAT
- INT
- INTEGER
- MEDIUMINT
- NUMERIC
- REAL
- SMALLINT
- TINYINT
- String Data Types
- BLOB
- CHAR
- CHARACTER
- CHARACTER VARYING
- LONGBLOB
- LONGTEXT
- MEDIUMBLOB
- MEDIUMTEXT
- NCHAR
- NATIONAL CHAR
- NATIONAL CHARACTER
- NATIONAL VARCHAR
- TEXT
- TINYBLOB
- TINYTEXT
- VARCHAR
- Date Data Types
- DATE
- DATETIME
- TIME
- TIMESTAMP
- YEAR
- Complex Data Types
- ENUM
- SET
- Operators and Functions
- Operators
- Rules of Precedence
- Arithmetic Operators
- Comparison Operators
- Logical Operators
- Functions
- Aggregate Functions
- General Functions
- MySQL PHP API Reference
- Data Types
- Functions
- mysql_affected_rows
- mysql_change_user
- mysql_close
- mysql_connect
- mysql_create_db
- mysql_data_seek
- mysql_db_name
- mysql_drop_db
- mysql_errno
- mysql_error
- mysql_escape_string
- mysql_fetch_array
- mysql_fetch_assoc
- mysql_fetch_field
- mysql_fetch_lengths
- mysql_fetch_object
- mysql_fetch_row
- mysql_field_flags
- mysql_field_name
- mysql_field_len
- mysql_field_seek
- mysql_field_table
- mysql_field_type
- mysql_free_result
- mysql_get_client_info
- mysql_get_host_info
- mysql_get_proto_info
- mysql_get_server_info
- mysql_insert_id
- mysql_list_dbs
- mysql_list_fields
- mysql_list_tables
- mysql_num_fields
- mysql_num_rows
- mysql_pconnect
- mysql_query
- mysql_result
- mysql_select_db
- mysql_tablename
- mysql_unbuffered_query
- C Reference
- Data Types
- Functions
- mysql_affected_rows
- mysql_change_user
- mysql_character_set_name
- mysql_close
- mysql_connect
- mysql_create_db
- mysql_data_seek
- mysql_debug
- mysql_drop_db
- mysql_dump_debug_info
- mysql_eof
- mysql_errno
- mysql_error
- mysql_escape_string
- mysql_fetch_field
- mysql_fetch_field_direct
- mysql_fetch_fields
- mysql_fetch_lengths
- mysql_fetch_row
- mysql_field_count
- mysql_field_seek
- mysql_field_tell
- mysql_free_result
- mysql_get_client_info
- mysql_get_host_info
- mysql_get_proto_info
- mysql_get_server_info
- mysql_info
- mysql_init
- mysql_insert_id
- mysql_kill
- mysql_list_dbs
- mysql_list_fields
- mysql_list_processes
- mysql_list_tables
- mysql_num_fields
- mysql_num_rows
- mysql_odbc_escape_string
- mysql_odbc_remove_escape
- mysql_options
- mysql_ping
- mysql_query
- mysql_read_query_result
- mysql_real_connect
- mysql_real_escape_string
- mysql_real_query
- mysql_refresh
- mysql_reload
- mysql_row_seek
- mysql_row_tell
- mysql_select_db
- mysql_send_query
- mysql_shutdown
- mysql_ssl_cipher
- mysql_ssl_clear
- mysql_ssl_set
- mysql_stat
- mysql_store_result
- mysql_thread_id
- mysql_thread_safe
- mysql_use_result
- The Python DB-API
- Module: MySQLdb
- Module Attributes
- apilevel
- paramstyle
- quote_conv
- threadsafety
- type_conv
- Module Methods
- MySQL.connect()
- Connection Attributes
- db
- Connection Methods
- close()
- commit()
- cursor()
- rollback( )
- Cursor Attributes
- arraysize
- description
- rowcount
- Cursor Methods
- callproc( )
- Method: close( )
- execute( )
- executemany( )
- Method: fetchall( )
- fetchmany( )
- fetchone( )
- insert_id( )*
- nextset( )
- setinputsizes( )
- setoutputsize( )
- Index
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.