为了正常的体验网站,请在浏览器设置里面开启Javascript功能!
首页 > MySQL 57 Window安装版安装教程

MySQL 57 Window安装版安装教程

2020-07-18 3页 doc 310KB 13阅读

用户头像

is_113440

暂无简介

举报
MySQL 57 Window安装版安装教程MySQL5.7Window安装版安装教程■几・▲前言虽然说都是下一步和下一步,但还是有一两个坑耗了些许时间,所以写个文档记录下安装环境本教程使用的是MySQL5.7.13社区版,下载地址:HYPERLINK"http://cdn.mysql.eom/Downloads/MySQLInstaller/mysql-installer-community-5.7.13.0.msi"http://cdn.mysql.eom/Downloads/MySQLInstaller/mysql-installer-community-5....
MySQL 57 Window安装版安装教程
MySQL5.7Window安装版安装■几・▲前言虽然说都是下一步和下一步,但还是有一两个坑耗了些许时间,所以写个文档下安装环境本教程使用的是MySQL5.7.13社区版,下载地址:HYPERLINK"http://cdn.mysql.eom/Downloads/MySQLInstaller/mysql-installer-community-5.7.13.0.msi"http://cdn.mysql.eom/Downloads/MySQLInstaller/mysql-installer-community-5.7.13.0.msi计算机系统是win10。图文步骤新建文件夹如下图所示,在C盘和D盘创建文件夹”C:\ProgramData\MySQL\MySQLServer5.7”“D:\MySQL\MySQLServer5.7”Server5»7MkroEoFthlou-se-andKFi/1icro&口FtAnalysisJSeitviFvlkrotoftG-sniffsMicrosoftOfficeMicrosoftSQLServerMkros.oft.NETMSBuikJMySQLMySQLScrw『57nodejfiRealtekRefeienceAss^mbliHSDKSublimeText2TortoiwSVNWindowsDefend&rWlndcwiJournalWindosA8!WindowsIMediaPla^r运行安装程序运行mysql-installer-community-5.7.13.0.ms。弹出第一个页面,此处选择Serveronly,可以根据需求自行选择。ChoosingaSetu卩TypeMySQLllnstallbfMySQL.InstallerAddingCommunirtyPlesseselecttheSetupTypethatsuitsv(MJrusecase.Choosinga竪lupTypeInstallationODevdoperDefaultInstallfallproductsneededrarMySOLdtwlopmtntpurposes.SriupTypeDes匚riptionInstflllaticinCompldze®ServeronlyInstallsonlytn配置数据库参数"IIMySQLllnstallerMySQLInstallerMySQLServer5.7.13TypeandNetworkingServerConfigurationType匚hoosethecorrectsaverEonfigurationtypeforthi5MySQLServerinitallation・Thi*settingwillHcfice:hmveuch寺'sltrTire:s:DU『匚巴”已nssipncdtsthe:阳ySQLServerinstance.TypeandNe^orking匚DnfigType:Ser^rr胡比匚hin?AccountsandRolesWndowsSer-ice匚nnnectiwityUsethefoJlowingcontrolstuselecthowyouwoyldliteto匚onnecttothis爬rver.PluginsandExtensionsAdvancedOptionsApplyServerConfigurabdmAduanccd匚口nfigurdti口n5clEthecheckboxbclowtogetadditionaIconfigurationpcigewhereyoucsnsrt:advonted□pIMShewAcK-ancedOptionsConfigType根据需求选择。r~|MySQLllnstallerInstallerMySQLServer5.7,13AccountsandRolesijr-fdNetv^orki仃qAccountssandRolesRootAccountPas^^rdEntwth亡passwordForthurootbccquntPleasertrnembertosborethispnsswcxdinnsecureVVi仃dowsMrvi匚aPIjginsandExuensionsAdvancedOpzioriEApplySetterConrigLiratiDnMySQLUserAccountsCreerteMySQLuseraccountiforyourusersandapplications.Assianaroletotheuierthstconsi^tsofasetofpnvileges.root账号的登录密码。^lySQLllnstallerMySQL.InstallerMySQLServer5.7.13TypmardNehtotkingAct口urit£andRdIb-eWindowsServiceWindowsService0匚orrfigurEMySQLSer*/era&aWindowsSefJceWindDvrsSjertnceDetails.Pleos亡specifyo恥ndov/sServicenametobe:usedforthisMySQLServerm^tanre.AuniqucnameisnrquirtdForcochinstance.Windov/5ServiceNeiitie|lMySQ®0StartthehflySQLServ曰at^stemStartupPluginsandExtensionsAdvancrdOptionsApplyServerConfigjratiDiiRunWindowsServiceas.,.TheMySQL5皀「心needsCdrununderagrvEnus:eracccunt.Bsfed口nthe>ecurrt^1requir£mEnt5:cfyenjrsystemyounEfdtcpickoneoftheapticnsbelc-w.@StandardSystemAccc-untRecommendedFormostscenorias・O匚urtornUjetArielidinguteraccountcanbfEelecteidforach*'ancedscenarios.wniss-utt,FilePath;general.lag0SlowQueryLogThmsIoiaiquerylogcorisiffttafSQLtoexecute・Jti&retommendedtetJijrnthi&logon.]SFileRath:inysqld-ilowj.log^tatarTients,thattookmoreth=nthegivenvalueofSeconek:I—⑥ThetnnaryIogcontainsaIIdatabaseeventEandisusedforre^licoperatims.IthasspErformaneeimpactonthes;亡rvb.OnlyafilastheSEFrtr^11appendanapprorijteedenaonsti:nanddatareceveryErameb-ase.shouldb亡givenrnysqld-EilnSETi/^rId:要求
就不需要改了。现在流行emoj,在MySQL中使用utf8mb4可以支持4个字符长度的emoj。编辑配置文件my.ini,找到如下所示的字符编码,utf8改成utf8mb4。③-込曲-HX•立1牛旧就岂括过也^71殻凹•#honorthes已values.,卩口口needtospecifyitasan.optionduringthe岸MyS2Lclient1ibraryinitialization.'岸-[client]no-faeepXpipe#Eadsst=0.0port=3306[rnysql]defauldiaract日r-s日t=utf8#SERVERSECTIONThe:fdlLowinaoptionswillbereadbytheMySQLServer.Makesurethatyiauhaveinstalledtheserver心口rrectly(see曲bcive}maLtreadsthisfile-ser7sr_type=2[mysqld]岸TheneutthreeopticinmaremutuallyexclusivetciEERVEJ?_RjRTbeldw.岸skip-netwarkiTigHarualila-ruined-pipe通Fny.ini-诃惑-□X文件is就©仙a査丢也瘦凹岸TheTCP/IPPorttheMySQLServerwilllisten口门port=330&Pathtoth曰databaserootdatadir=D:/JlySQL/HySQLServer5B7\DataEnableYindawsAuthenticationplugiri-load=authBrLtLcatLO(ri_wirLdjayFsJdll岸Pathtoinstallationdir已ctDT典Allpathsareusuallyresolvedlelativetothis.basedir="C;/Program卩订es/Nya^L/Nya^LServer5,?/'Thedefaultcharactersetthatwillbeused曲曰nanowschamaortableisci■曰田t日dandnocharactorw曰td日fi口日d■diaract日匸一日日t-ser?sr=utf8ThedefaultEtaxagsenainethatwillbeusedvitien.c工曰田jibwtableswhendefault-staraE9-enaLnE=INNUDBSettheSQLmadetostrictsal-made="STRICT_TRANS_TAEiLES,NO_WJTO_CREATE_USEE<,N0_EN3INE-SUBSTITUTION"GeneralandSlowlagging.1口g-autput=FILEgeneral-1口g=flgeneral_1口g_fi1e=^gener81.1口吕"alow-query-1og=lalwijEty—LciE—fi1e=z,m^sqld-alcrw.1ogy,改完后如下。3my.ini-込曲-HX立1牛凹*160括趣1ES也瘦凹岸h口northes已values,5™口needtospecifyitasan口ptionduringthe岸MySQLelient1ibrsryinitialiEation.岸[client]no-beep=Epit>e=#Eadsst=O.Upart=3306[nrysql]default-diaracter-S0t=LitfSnib-4#SERVERSECTION_ji十…The:fdILowinaoptionswillbereadbytheMySQLServer.M^kesurethatyiauhaveinstalledthesezver召口erectly(see厲匕>口甲日}弓口itreaidsthisfile-=##ser7er_typ9=l[mysqld]岸ThenentthreeapticirimaremutuallyeiclusivetciEERVER_FURTbeldw.tt2kip-neturarkiTig=岸ertable-naned-pipe=通iny.ini-诃旳-□X立件(E)鼎匿D蘇世1砥凹岸TheTCP/IPPotitheMy93LServerwilllisten口口part-2306#PathtainatallationdiTectory.Allpsth2aTeusuallyres口1vedteIativetcithis.basedir=^Cr/PragramFi1es/MySJL/My92LServer5.7/^岸Pathtothedatabaset□口tdatadir=^D:\My9QL\My93LServer5.?\DataVHThedefsultcharacteraetthatwillbeLi3edwhan.日newschemaortableisif匚itaLtd:dju_]uu«Ltia£-a'i:Li±£stLimdefinedcharaeter-set-serv已T=utfgnib4岸Thedefaultstorageenginethattrillbeusedwhencreatenewtab1eswheadefault-3toraga-erLgine=INK0DBifSetthe92Lncidetostrictsql-rade="STRICT_TRANS_TABLES?NO.AtfrO.CREATE.USER,N3_ENCIHE.SUBSTITUTI岸EnableVindoijira^uuthentieaticm岸plugin-1oad=aLLtharLtication_windoijra.d.11岸GeneralaridSlowlogging.1Qg-aLLtput^ILEgeneral-log=0general_log_fi1e=-ugener31.1□§'alow-query-1og=1alLTiA,_quer>r_lQg_file=^quer^-slolp.1og"'~llrvr^lrij~保存修改,重启Mysql服务。测试打开命令行(快捷键win+r,输入emd,回车)使用mysql自带的客户端登录测试是否正常。也可以使用其他客户端软件测试。温馨提示:刚安装完root账号只允许在本地登录。C\WlNDC3Z\cmd,e>e-mysql-uroot-p(c)2015MijiosoftCorpcration.:.■:.C:XU^erL:l,'^p^>mysql~urui_t-pEn+.nrpassword:*乂*知*洽Ytlcumetoi:上巳MySQLmonitor・CoirinianQsend.vith;or\§・fourMySQL:anjiec^irinidlebServervarci匚:n:E・7・lE-lmgMyEJLCairorLi_in.itySsrvsr'.GPL)Copyright,(.c)2000,2016?Oracleand''oriaffiliat.H:=:.Allrightnreserved.□fOracle(J:izporationand/critEUraclei=aregistered-tracemarkaffiliatec・Ltliermmssmaybetrademarksof'theirreL:pcc:t.ivQj-mers・Type7help,or'\h?forhelp・Type"toclearthecurrentinputstatEinjenl..Tr正常登录,安装成功。启动关闭安装时已将MySQL注册为系统服务,所以可以使用window的服务管理对MySQL进行启动关闭和重启。打开服务管理(右键我的电脑->管理),找到服务项下的MySQL57,右键执行指令。曲计帥定理-□X文<5(F)“(A)♦哗上nd◎巨Gm►■»»淞t-sn&eiTtS'v於戲缸L貝E«sMVSQL57父存4屜Q曰什皂R|*aE齐MessageQueuingS^.正E・目动更磁件►>加弦E決maacK^Microsoft(R)诊21>纭.・参厳..正左•・・My5QL57▲>迦忑堆角户壮a車启讹號务MicrosoftAccountSgrvi..x?#-狂冬坛吃»>色性&^MicrosoftiSCSIInitiator...^MicrosoftPassport为用..手动噂茨•••vg8^©MicrosoftPwportCont..寧S_和哒••rr2tt«5©Mi"Q9ft£oftw"。0ud..・BiS-p乱*a幻应亦戸^MktosoftStoraoeSoace...Mier...曲^MicrosoftEndowsSMS...堆©.姜功(总发・・•鸟WMI曲:lftMySQl57正E・自动〉f袒0以列^Net.TcpPo\g•馳厂
/
本文档为【MySQL 57 Window安装版安装教程】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。 本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。 网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。

历史搜索

    清空历史搜索