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

Tài liệu MySQL Administrator’s Bible- P1 ppt

50 294 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 50
Dung lượng 3,79 MB

Nội dung

Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. MySQL ® Administrator’s Bible Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. MySQL ® Administrator’s Bible Sheeri Cabral Keith Murphy Wiley Publishing, Inc. Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. MySQL ® Administrator’s Bible Published by Wiley Publishing, Inc. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2009 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN: 978-0-470-41691-4 Manufactured in the United States of America 10987654321 Library of Congress Cataloging-in-Publication Data: Cabral, Sheeri, 1978- MySQL administrator’s bible / Sheeri Cabral, Keith Murphy. p. cm. Includes index. ISBN 978-0-470-41691-4 (paper/website) 1. MySQL (Electronic resource) 2. Database management. 3. Relational databases. I. Cabral, Sheeri, 1970- II. Title. QA76.9.D3C3178 2009 005.75  65 — dc22 2009005633 No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permit- ted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copy- right Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/permissions . Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the publisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Web site is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or Web site may provide or recommendations it may make. Further, readers should be aware that Internet Web sites listed in this work may have changed or disappeared between when this work was written and when it is read. For general information on our other products and services please contact our Customer Care Department within the United States at (877) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002. Trademarks: Wiley and the Wiley logo are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be used without written permission. MySQL is a registered trademark of MySQL AB Company. All other trademarks are the property of their respec- tive owners. Wiley Publishing, Inc. is not associated with any product or vendor mentioned in this book. Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books. Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. To Mitch Cherniack, who taught me databases and inspired my love of them. In memory of Zvi Kramer and Yehoshua Kritzer — may I be able to echo their strength and spirit. — Sheeri Cabral For Rachel, the love of my life. — Keith Murphy Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. About the Authors Sheeri K. Cabral is a Database Team Lead at the Pythian Group, a remote database administra- tion solution. She has a master’s degree in computer science specializing in databases from Bran- deis University and a career background in systems administration. Unstoppable as a volunteer and activist since she was 14, Sheeri founded and organizes the Boston MySQL User Group. She also produces OurSQL: The MySQL Database Podcast for the Community, By the Community and many workshop videos. These resources are freely available at www.technocation.org , the website of Technocation, Inc. Sheeri is the Treasurer of Technocation, Inc, a not-for-profit organization providing resources and educational grants for IT professionals. Sheeri currently lives in the Boston area with her husband Tony Cabral and a myriad assortment of Muppets™. When she’s not working or volunteering, she reads, knits, listens to podcasts, and enjoys time with her nieces and nephews. Keith Murphy is a MySQL database administrator who has been using MySQL server since 1998. A long-time Linux system administrator, he worked with a number of Internet companies solving systems issues. More recently he formed Paragon Consulting Services ( http://www.paragon-cs.com ) to provide consulting services for companies seeking training for MySQL and help with MySQL solutions ranging from everyday database administration tasks to utilizing ‘‘cloud’’ computing services, performance tuning, and scaling. In addition to information about the company, Keith blogs at http://blog.paragon-cs.com , which he updates as frequently as possible with tricks, tips, and general information about MySQL server. In addition he is the editor of MySQL Magazine ( http://www.mysqlzine.net ), the MySQL community’s digital magazine about all things MySQL. It is his pleasure to work with some of the finest people in the community in this collaborative effort to increase both the amount and quality of the available information on MySQL server. Readers are invited to contact Keith by email at bmurphy@pargon-cs.com . Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark. [...]... Chapter 3: Accessing MySQL 49 Part II Developing with MySQL Chapter Chapter Chapter Chapter Chapter Chapter 4: 5: 6: 7: 8: 9: How MySQL Extends and Deviates from SQL 87 MySQL Data Types .159 MySQL Index Types 219 Stored Routines, Triggers, and Events .241 MySQL Views 301 Transactions in MySQL 319 Part III Core MySQL Administration... 9 Choosing the MySQL version .11 MySQL support 12 Downloads 12 Installation 12 MySQL Server installations on Unix 13 MySQL Server Installation on Windows 20 Installing MySQL from a Noinstall Zip Archive 24 Starting and stopping MySQL from the Windows command line 25 Starting and stopping MySQL as a Windows service... .43 Upgrading mysqld 45 The MySQL changelog 45 Upgrading MySQL on Windows 46 Troubleshooting 47 Summary 48 Chapter 3: Accessing MySQL 49 Accessing mysqld with Command-Line Tools .49 Frequently used options 50 Using the command-line mysql client 52 mysqladmin — Client for administering... transition to MySQL server They may be experienced database administrators, but are not experienced with MySQL How This Book Is Organized The MySQL Administrator’s Bible is divided into four parts Part I makes no assumptions on the knowledge level of the reader Chapter 1 is a brief introduction to MySQL s history After this introduction Part I covers: ■ MySQL server installation (Chapter 2) ■ Accessing MySQL. .. Part II covers how MySQL compares to standards and MySQL s SQL syntax: ■ How MySQL extends and deviates from standard SQL (Chapter 4) ■ MySQL data types (Chapter 5) ■ MySQL index types (Chapter 6) xxvii Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark Introduction ■ Stored routines, triggers and events (Chapter 7) ■ MySQL Views (Chapter 8) ■ Transactions in MySQL (Chapter 9)... tuning (Chapter 18) ■ Monitoring MySQL servers (Chapter 19) ■ Securing MySQL (Chapter 20) ■ The MySQL data dictionary (Chapter 21) ■ Scaling MySQL server and high availability (Chapter 22) In addition to the two parts there are three appendixes of additional material: ■ Using the MySQL Proxy (Appendix A) ■ MySQL Functions reference (Appendix B) ■ Additional resources for MySQL (Appendix C) Conventions... 62 GUI Tools 66 SQLyog 66 phpMyAdmin 69 MySQL Query Browser .71 MySQL Administrator 74 MySQL Workbench .80 Summary 83 Part II Developing with MySQL Chapter 4: How MySQL Extends and Deviates from SQL 87 Learning MySQL Language Structure .88 Comments and portability 88 Case-sensitivity... that work in both MySQL 5.1 and MySQL 6.0 (as released at the time of writing), except where noted ■ Extra material such as a new SQL tutorial, information on spatial data and indexes, and up-to-date information on the new features in MySQL 6.0 ■ Errata updates Where To Go From Here When you finish reading MySQL Administrator’s Bible you will have a solid foundation for working as a MySQL database administrator... www.verypdf.com to remove this watermark ® MySQL Administrator’s Bible Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark Please purchase PDF Split-Merge on www.verypdf.com to remove this watermark First Steps with MySQL IN THIS PART Chapter 1 Introduction to MySQL Chapter 2 Installing and Upgrading MySQL Server Chapter 3 Accessing MySQL Please purchase PDF Split-Merge on www.verypdf.com... First Steps with MySQL Chapter 1: Introduction to MySQL 3 MySQL Mission — Speed, Reliability, and Ease of Use 3 Company background 4 Community and Enterprise server versions 5 The MySQL Community 6 How to contribute 6 Reasons to contribute 7 Summary 7 Chapter 2: Installing and Upgrading MySQL Server . about MySQL server. In addition he is the editor of MySQL Magazine ( http://www.mysqlzine.net ), the MySQL community’s digital magazine about all things MySQL. . Sheeri, 1978- MySQL administrator’s bible / Sheeri Cabral, Keith Murphy. p. cm. Includes index. ISBN 978-0-470-41691-4 (paper/website) 1. MySQL (Electronic

Ngày đăng: 24/12/2013, 17:15

TỪ KHÓA LIÊN QUAN