MySQL

Free Download

Authors:

Edition: 4

ISBN: 0672329387, 9780672329388

Size: 6 MB (6590563 bytes)

Pages: 1326/1326

File format:

Language:

Publishing Year:

Category:

Paul DuBois0672329387, 9780672329388

Книга-пособие для сдающих сертификационный экзамен Oracle 1z0-043, Oracle 10g Administration II. Содержит зкзаменационные вопросы, правильные ответы на них с объяснениями, изложение материала, в конце каждой главы – контрольные вопросы и ответы с объяснениями. На английском языке. Очень ценное пособие для сдающих экзамен по Oracle 10g Administration II.


Table of contents :
MySQL……Page 1
Table of Contents……Page 7
Introduction……Page 26
Why Choose MySQL?……Page 27
Already Running Another RDBMS?……Page 29
What You Can Expect from This Book……Page 30
Part II: Using MySQL Programming Interfaces……Page 31
Part IV: Appendixes……Page 32
How to Read This Book……Page 33
Versions of Software Covered in This Book……Page 34
Conventions Used in This Book……Page 35
Additional Resources……Page 36
1.1 How MySQL Can Help You……Page 38
1.2 A Sample Database……Page 42
1.3 Basic Database Terminology……Page 46
1.4 A MySQL Tutorial……Page 50
1.5 Tips for Interacting with mysql……Page 118
1.6 Where to Now?……Page 125
2 Using SQL to Manage Data……Page 126
2.1 The Server SQL Mode……Page 127
2.2 MySQL Identifier Syntax and Naming Rules……Page 128
2.3 Case Sensitivity in SQL Statements……Page 131
2.4 Character Set Support……Page 132
2.5 Selecting, Creating, Dropping, and Altering Databases……Page 137
2.6 Creating, Dropping, Indexing, and Altering Tables……Page 139
2.7 Obtaining Database Metadata……Page 169
2.8 Performing Multiple-Table Retrievals with Joins……Page 175
2.9 Performing Multiple-Table Retrievals with Subqueries……Page 183
2.10 Performing Multiple-Table Retrievals with UNION……Page 190
2.11 Using Views……Page 194
2.12 Multiple-Table Deletes and Updates……Page 198
2.13 Performing Transactions……Page 199
2.14 Foreign Keys and Referential Integrity……Page 210
2.15 Using FULLTEXT Searches……Page 219
3 Data Types……Page 226
3.1 Data Value Categories……Page 228
3.2 MySQL Data Types……Page 239
3.3 How MySQL Handles Invalid Data Values……Page 277
3.4 Working with Sequences……Page 279
3.5 Expression Evaluation and Type Conversion……Page 289
3.6 Choosing Data Types……Page 305
4 Stored Programs……Page 314
4.1 Compound Statements and Statement Delimiters……Page 315
4.2 Stored Functions and Procedures……Page 317
4.3 Triggers……Page 321
4.4 Events……Page 323
4.5 Security for Stored Programs and Views……Page 325
5 Query Optimization……Page 328
5.1 Using Indexing……Page 329
5.2 The MySQL Query Optimizer……Page 336
5.3 Choosing Data Types for Efficient Queries……Page 347
5.4 Loading Data Efficiently……Page 351
5.5 Scheduling and Locking Issues……Page 354
5.6 Administrative-Level Optimizations……Page 359
6.1 Why Write Your Own MySQL Programs?……Page 366
6.2 APIs Available for MySQL……Page 370
6.3 Choosing an API……Page 375
7 Writing MySQL Programs Using C……Page 384
7.1 Compiling and Linking Client Programs……Page 385
7.2 Connecting to the Server……Page 388
7.3 Handling Errors and Processing Command Options……Page 392
7.4 Processing SQL Statements……Page 414
7.5 An Interactive Statement-Execution Program……Page 434
7.6 Writing Clients That Include SSL Support……Page 435
7.7 Using the Embedded Server Library……Page 441
7.8 Using Multiple-Statement Execution……Page 445
7.9 Using Server-Side Prepared Statements……Page 447
8 Writing MySQL Programs Using Perl DBI……Page 460
8.1 Perl Script Characteristics……Page 461
8.2 Perl DBI Overview……Page 462
8.3 Putting DBI to Work……Page 502
8.4 Using DBI in Web Applications……Page 525
9 Writing MySQL Programs Using PHP……Page 552
9.1 PHP Overview……Page 554
9.2 Putting PHP to Work……Page 577
10 Introduction to MySQL Administration……Page 604
10.1 MySQL Components……Page 605
10.2 General MySQL Administration……Page 606
10.4 Database Maintenance, Backups, and Replication……Page 607
11 The MySQL Data Directory……Page 610
11.1 Location of the Data Directory……Page 611
11.2 Structure of the Data Directory……Page 612
11.3 Relocating Data Directory Contents……Page 627
12 General MySQL Administration……Page 634
12.1 Securing a New MySQL Installation……Page 635
12.2 Arranging for MySQL Server Startup and Shutdown……Page 641
12.3 Controlling How the Server Listens for Connections……Page 654
12.4 Managing MySQL User Accounts……Page 655
12.5 Maintaining Logs……Page 670
12.6 Tuning the Server……Page 685
12.7 Storage Engine Configuration……Page 694
12.9 Internationalization and Localization Issues……Page 706
12.10 Running Multiple Servers……Page 710
12.11 Updating MySQL……Page 720
13 Access Control and Security……Page 724
13.1 Internal Security: Preventing Unauthorized Filesystem Access……Page 725
13.2 External Security: Preventing Unauthorized Network Access……Page 734
13.3 Setting Up Secure Connections……Page 756
14.1 Principles of Preventive Maintenance……Page 762
14.2 Performing Database Maintenance with the Server Running……Page 764
14.3 General Preventative Maintenance……Page 768
14.4 Making Database Backups……Page 771
14.5 Copying Databases to Another Server……Page 780
14.6 Checking and Repairing Database Tables……Page 782
14.7 Using Backups for Data Recovery……Page 788
14.8 Setting Up Replication Servers……Page 793
A.1 Obtaining the sampdb Sample Database Distribution……Page 802
A.2 Obtaining MySQL and Related Software……Page 803
A.4 Installing MySQL on Unix……Page 805
A.5 Installing MySQL on Windows……Page 817
B: Data Type Reference……Page 822
B.1 Numeric Types……Page 824
B.2 String Types……Page 828
B.3 Date and Time Types……Page 834
B.4 Spatial Types……Page 836
C: Operator and Function Reference……Page 838
C.1 Operators……Page 839
C.2 Functions……Page 855
D.1 System Variables……Page 914
D.2 Session-Only System Variables……Page 946
D.3 Status Variables……Page 949
D.4 User-Defined Variables……Page 960
E: SQL Syntax Reference……Page 962
E.1 SQL Statement Syntax (Non-Compound Statements)……Page 963
E.2 Compound Statement Syntax……Page 1053
E.3 Comment Syntax……Page 1058
F: MySQL Program Reference……Page 1062
F.1 Displaying a Program’s Help Message……Page 1063
F.2 Specifying Program Options……Page 1064
F.3 myisamchk……Page 1076
F.4 myisampack……Page 1083
F.5 mysql……Page 1084
F.6 mysql.server……Page 1095
F.8 mysql_install_db……Page 1096
F.9 mysqladmin……Page 1097
F.10 mysqlbinlog……Page 1101
F.11 mysqlcheck……Page 1104
F.12 mysqld……Page 1108
F.13 mysqld_multi……Page 1126
F.14 mysqld_safe……Page 1127
F.15 mysqldump……Page 1129
F.16 mysqlhotcopy……Page 1138
F.17 mysqlimport……Page 1141
F.18 mysqlshow……Page 1144
F.19 perror……Page 1145
G: C API Reference……Page 1146
G.1 Compiling and Linking……Page 1147
G.2 C API Data Types……Page 1148
G.3 C API Functions……Page 1161
H: Perl DBI API Reference……Page 1202
H.2 DBI Methods……Page 1203
H.3 DBI Utility Functions……Page 1222
H.4 DBI Attributes……Page 1223
H.5 DBI Environment Variables……Page 1230
I.1 Writing PHP Scripts……Page 1232
I.3 PDO Methods……Page 1233
A……Page 1250
B……Page 1254
C……Page 1256
D……Page 1262
E……Page 1268
F……Page 1271
G……Page 1274
H……Page 1275
I……Page 1276
L……Page 1282
M……Page 1285
N……Page 1294
O……Page 1297
P……Page 1299
Q……Page 1303
R……Page 1304
S……Page 1308
T……Page 1319
U……Page 1322
W……Page 1324
X–Z……Page 1326

Reviews

There are no reviews yet.

Be the first to review “MySQL”
Shopping Cart
Scroll to Top