Mastering phpMyAdmin for Effective MySQL Management ppt

312 282 0
Mastering phpMyAdmin for Effective MySQL Management ppt

Đ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

Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Mastering phpMyAdmin 2.8 for Effective MySQL Management Increase your MySQL productivity and control by discovering the real power of phpMyAdmin 2.8 Marc Delisle BIRMINGHAM - MUMBAI Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Mastering phpMyAdmin 2.8 for Effective MySQL Management Copyright © 2006 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, Packt Publishing, nor its dealers or distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First edition: April 2004 Second edition: October 2004 Third edition: October 2006 Production Reference: 2290906 Published by Packt Publishing Ltd. 32 Lincoln Road Olton Birmingham, B27 6PA, UK. ISBN 1-847191-60-6 www.packtpub.com Cover Image by www.visionwt.com Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Credits Author Marc Delisle Reviewers Garvin Hicking Alexander Turek Development Editor Louay Fatoohi Technical Editor Saurabh Singh Editorial Manager Dipali Chittar Indexer Mithil Kulkarni Proofreaders Martin Brooks Chris Smith Layouts and Illustrations Shantanu Zagade Cover Designer Shantanu Zagade Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com About the Author Marc Delisle started to contribute to phpMyAdmin in December 1998, when he made the rst multi-language version. He has been actively involved since May 2001 as a developer and project administrator. phpMyAdmin is now a part of his life. He has worked since 1980 at Collège de Sherbrooke, Québec, Canada, as an application programmer and network manager. He has also been teaching networking, security, Linux servers, and PHP/MySQL application development. In one of his classes, he was pleased to meet a phpMyAdmin user from Argentina. I am truly grateful to Louay Fatoohi, my editor, who approached me for this book project, and accompanied me during the production; his sound comments were greatly appreciated. My thanks also go to Garvin Hicking, a member of the phpMyAdmin's development team and the reviewer for this book. Garvin's sharp eye helped in making this book clearer and more complete. Finally, there would be no book about phpMyAdmin without phpMyAdmin (the software). I wish to thank all contributors to the source code and documentation; the time they gave to the software project still inspires me and continues to push me forward. To Carole, André, Corinne, Annie, and Guillaume, with all my love. Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com About the Reviewers Garvin Hicking is a German web developer working for Faktor E GmbH. He creates web applications using PHP and MySQL, and in his free time enjoys working on open-source projects like phpMyAdmin or Serendipity. When he's away from the computer, he likes going to the movies with his girlfriend and friends, blogging, and taking pictures. What he enjoys most about his work in Open Source is making people's everyday life easier, by giving them free, but powerful, tools to play with. Receiving feedback from satised users is one of the fundamental give and get principles he likes to live by. Alexander Marcus Turek was born on June 2nd, 1984 in Düsseldorf, the capital of the German province Northrhine-Westphalia. Currently, he's studying Information Engineering and Management at the University of Karlsruhe, but his origin is Mülheim an der Ruhr, the home of his family. He rst got in touch with the Web in 1998, when he won a 28.8k modem at the CeBit Home in Hannover, Germany. A few months later, he learned HTML and started his rst Web project, a German game patch archive called Rabus' Update Site, which he renamed to bugfixes.info, when the .info domains became available. In the meantime, he switched from static HTML to PHP in order to be able to manage the growing archive more efciently. He kept on learning PHP when trying to extend the portal. Because the atle-based database system became too slow when searching the still growing archive, he also switched to MySQL in 2001. This is when he got in touch with phpMyAdmin and the project. He started with revising its language les because they were a bit outdated and inconsistent. He had fun doing so, and continued with grabbing some bug reports and submitting patches for them. Loïc Chapeaux, one of the two co-maintainers at that time, added him to the developers list and gave him a CVS account in March 2002, so he could merge his patches by himself. Since then, he has mainly worked on the compatibility with MySQL 4.0, reworked the server administration area, developed a simple abstraction layer in order to support MySQLi, and continued with compatibility xing—this time for MySQL 4.1 and 5.0. Unfortunately, his studies and phpMyAdmin became too time consuming, and he had to stop working on bugfixes.info in 2003. Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Table of Contents Preface 1 Chapter 1: Introducing phpMyAdmin 7 PHP and MySQL: The Leading Open-Source Duo 8 What is phpMyAdmin? 8 History 9 Awards 12 phpMyAdmin Features Summary 13 Summary 14 Chapter 2: Installing phpMyAdmin 15 System Requirements 15 Downloading the Files 16 Installation 16 Installation on a Remote Server Using a Windows Client 16 Installation on a Local Linux Server 17 Installation on Local Windows Servers (Apache, IIS) 18 First Connection Conguration 18 Conguration Principles 18 Web-Based Setup Script 19 Manual Creation of cong.inc.php 24 Tips for Editing cong.inc.php on a Windows Client 24 The cong.inc.php File 24 PmaAbsoluteUri 25 Server-Specic Sections 25 extension 26 PersistentConnections 26 connect_type, socket and port 26 compress Conguration 27 Authentication Type: cong 27 Testing the First Connection 28 Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Table of Contents [ ii ] Multi-Server Conguration 28 Servers Dened in the Conguration File 29 Arbitrary Server 29 Advanced Authentication 30 Authentication Types Offered 30 The Control User 31 HTTP Authentication 31 Cookie Authentication 32 Security 34 Directory-Level Protection 34 IP-Based Access Control 34 Rules 35 Order of Interpretation for Rules 36 Simplied Rule for Root Access 36 Restricting the List of Databases 37 Protecting In-Transit Data 37 Upgrading phpMyAdmin 38 Summary 38 Chapter 3: Interface Overview 39 Panels and Windows 39 Login Panels 39 Left and Right Panels 39 Home Page 40 Views 40 Query Window 40 Starting Page 40 Window Titles Conguration 41 General Icon Conguration 41 Natural Sort Order for Database and Table Names 41 Language Selection 42 Themes 43 Theme Conguration 43 Theme Selection 44 Left Panel 44 Database and Table List 45 Light Mode 46 Full Mode 48 Table Short Statistics 48 Quick-Browsing a Table 49 Nested Display of Tables within a Database 49 Server-List Choice 50 Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Table of Contents [ iii ] Right Panel 51 Home Page 52 Database View 53 Table View 54 Server View 55 Icons for Home Page and Menu Tabs 56 Query Window 56 Site-Specic Header and Footer 57 MySQL Documentation Links 58 Summary 58 Chapter 4: First Steps 59 Database Creation 59 No Privileges? 59 First Database Creation Is Authorized 60 Creating Our First Table 61 Choosing the Fields 62 Table Creation 62 Choosing Keys 64 Manual Data Insertion 66 Data Entry Panel Tuning for CHAR and VARCHAR 68 Browse Mode 69 SQL Query Links 70 Navigation Bar 71 Sorting Results 74 Color-Marking Rows 75 Limiting the Length of Each Column 75 Browsing Distinct Values 76 Browse-Mode Customization 77 Creating an Additional Table 77 Summary 78 Chapter 5: Changing Data 79 Edit Mode 79 Moving to Next Field with the Tab Key 80 Moving with Arrows 80 Handling NULL Values 81 Applying a Function to a Value 81 Duplicating Rows of Data 82 Multi-Row Editing 83 Editing the Next Row 84 Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com [...]... queries history • Connection to MySQL using either the traditional mysql extension or the new mysqli extension (in PHP 5) • Character-set support for databases, tables, and fields (with MySQL 4.1) • Column contents transformation based on MIME type • Theme management to customize the interface's look The server administration features consist of: • User and privileges management • Database privileges... provides to MySQL has made phpMyAdmin an indispensable tool for MySQL and Web developers This book is a comprehensive tutorial to phpMyAdmin, demonstrating the full potential of this tool It shows how to configure, activate, and use phpMyAdmin s myriad features, both basic and advanced What This Book Covers This is a quick review of the nineteen chapters of the book Chapter 1 is an introduction to phpMyAdmin, ... particularly for team projects phpMyAdmin allows us to do this, and this feature is covered in Chapter 15 The chapter shows how to generate simple table and column [] Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Preface lists, use data dictionaries for complete column lists, and generate custom-made relational schema for tables in the PDF format phpMyAdmin can perform MIME-based... Introducing phpMyAdmin PHP and MySQL: The Leading Open-Source Duo This chapter describes the place of phpMyAdmin in the context of PHP /MySQL, explains phpMyAdmin' s history, and summarizes its features Let us look at the solutions currently offered by host providers The most prevalent is the PHP /MySQL combination Well supported by their respective home sites, http://www.php.net and http://www .mysql. com,... months On 2003-02-23, version 2.4.0 included a new server/user management facility Then on 2003-05-11, version number jumped to 2.5.0 to mark the new MIME-type cell transformation system Version 2.6.0 – released on 2004-09-27 – added support for the new mysqli extension available in PHP 5 for better performance and improved security The interface for this version has been redesigned, including new icons... developers, MySQL is the most popular Open Source database, supporting numerous large dynamic websites and applications MySQL has acquired this wide popularity by virtue of its open source nature, reliability, robustness, and support for various platforms This popularity has also been aided by the existence of phpMyAdmin, the industry-standard administration tool that makes database management easy for both... will be used either for FTP or SFTP transfer, SSH login, or web control panel login • The MySQL server's name or address Often this is localhost, which means it is located on the same machine as the web server We will assume this to be mysql. mydomain.com • Our MySQL server's account information (username, password) System Requirements The up-to-date requirements for a specific phpMyAdmin version are... 223 223 225 225 225 225 227 229 229 Chapter 16: MIME-Based Transformations The MIME Column's Settings MIME Types Browser Transformations Transformation Options Requirements for Image Generation The GD2 Library The JPEG and PNG Libraries Memory Limits Examples of Transformations Clickable Thumbnail (.jpeg or png) Links to an Image Date Formatting Links from Text text/plain: link text/plain: imagelink... "Best PHP Application/Tool" for 2003 This award was officially presented at the International PHP Conference held at Frankfurt in November 2003 to two members of the team The German PHP Magazin hosted the readers choice again in 2005 and 2006; phpMyAdmin won for both years in the same category SourceForge.net hosted its Community Choice Awards for the first time in 2006 and phpMyAdmin won in two categories:... Administration I represented the team at LinuxWorld, Boston in April for the Awards presentation The project also won "Best PHP Application of the Year" at the fifth Annual OS/2 World Awards phpMyAdmin Features Summary The goal of phpMyAdmin is to offer complete web-based management of MySQL servers and data, and to keep up with MySQL and web standards evolution While the product is not perfect, it . Version - http://www.simpopdf.com Mastering phpMyAdmin 2.8 for Effective MySQL Management Increase your MySQL productivity and control by discovering the real power of phpMyAdmin 2.8 Marc Delisle . MUMBAI Simpo PDF Merge and Split Unregistered Version - http://www.simpopdf.com Mastering phpMyAdmin 2.8 for Effective MySQL Management Copyright © 2006 Packt Publishing All rights reserved. No part. 1: Introducing phpMyAdmin 7 PHP and MySQL: The Leading Open-Source Duo 8 What is phpMyAdmin? 8 History 9 Awards 12 phpMyAdmin Features Summary 13 Summary 14 Chapter 2: Installing phpMyAdmin 15 System

Ngày đăng: 27/06/2014, 06:20

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan