资源描述:
《MySQL Troubleshooting》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、MySQLTroubleshootingSvetaSmirnovaBeijing•Cambridge•Farnham•Köln•Sebastopol•TokyoMySQLTroubleshootingbySvetaSmirnovaCopyright©2012SvetaSmirnova.Allrightsreserved.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Re
2、illybooksmaybepurchasedforeducational,business,orsalespromotionaluse.Onlineeditionsarealsoavailableformosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcorporate/institutionalsalesdepartment:(800)998-9938orcorporate@oreilly.com.Editor:AndyOramIndexer:An
3、gelaHowardProductionEditors:JasminePerezandTeresaElseyCoverDesigner:KarenMontgomeryCopyeditor:Genevieved’EntremontInteriorDesigner:DavidFutatoProofreader:JasminePerezIllustrator:RobertRomanoFebruary2012:FirstEdition.RevisionHistoryfortheFirstEdition:2012-02-03FirstreleaseSeeh
4、ttp://oreilly.com/catalog/errata.csp?isbn=9781449312008forreleasedetails.NutshellHandbook,theNutshellHandbooklogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.MySQLTroubleshooting,theimageofaMalayanbadger,andrelatedtradedressaretrademarksofO’ReillyMedia,Inc.Ma
5、nyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.,wasawareofatrademarkclaim,thedesignationshavebeenprintedincapsorinitialcaps.Whileeveryprecautionhasbeentakenintheprepa
6、rationofthisbook,thepublisherandauthorassumenoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinformationcon-tainedherein.ISBN:978-1-449-31200-8[LSI]1328280258TableofContentsForeword...................................................................viiP
7、reface.....................................................................ix1.Basics.................................................................1IncorrectSyntax1WrongResultsfromaSELECT5WhentheProblemMayHaveBeenaPreviousUpdate10GettingInformationAboutaQuery16TracingBackE
8、rrorsinData19SlowQueries24TuningaQuerywithInformationfromEXPLAIN24Ta