MySQL安装详细步骤及解决1067与2003两个问题方法

上传人:z****2 文档编号:181745316 上传时间:2023-01-16 格式:DOCX 页数:15 大小:693.48KB
收藏 版权申诉 举报 下载
MySQL安装详细步骤及解决1067与2003两个问题方法_第1页
第1页 / 共15页
MySQL安装详细步骤及解决1067与2003两个问题方法_第2页
第2页 / 共15页
MySQL安装详细步骤及解决1067与2003两个问题方法_第3页
第3页 / 共15页
资源描述:

《MySQL安装详细步骤及解决1067与2003两个问题方法》由会员分享,可在线阅读,更多相关《MySQL安装详细步骤及解决1067与2003两个问题方法(15页珍藏版)》请在装配图网上搜索。

1、Cancel面的是 MySQL 安装的图解,用的可执行文件安装的,详细说明了一下!打开下载的mysql安装文件mysq卜5.5.15-win32.zip,双击解压缩,运行 “setup.exe”,出现如下界面MySQL Server 5.5 SetupWelcome to the MySQL Server 5.5 Setup WizardThe Smtup Wizard will install MySQL Server 5.5 on your computer. Click Next to continum or Cancel to exit the Setup Wizard.Copyrig

2、ht (c) 2000r 2011, Oracle aind/or rts affiliates. All rights reserved.mysql安装向导启动,按“Next”继续按“Next”继续MySQL Server 5,5 SetupChoose Setup TypeChoose the setup type that test suits your needsTypicalInstalls the most common program features. Recommended for most users.CustomAllows users to choose wh祀h pr

3、ogram features will be installed and where they will be installed. Recommended fbr advanced users.CompleteAll program features will be installed. Requires the most disk space.BackNextCancel选择安装类型,有Typical (默认)”、“Complete (完全)”、“Custom (用户自定 义)三个选项,我们选择“Typical”,出现下图所示界面:点击“install”以继续,出现下图界面:褂 MySQL

4、 Server 5.5 Setup0凹Installing MySQL Server 5.5Please vjait vjhile the Setup Wizard installs MySQL Server 5.5.Status:COpying nev; filesBackNextCancel按“Next”继续,出现下图:MySQL EnterpriseA MySQL Enterprise subscriptfon Fsttie most co mpre hie naive offering of MySQL database software, services, and support

5、to ensure your busin ess achl eves the hig he st I eveis of re liability, securfty, and uptfme.An Enterprise SubscrFption indudes:LThe MySQL Enterprise Server - The mast reliable, secure, and up-to-date version ofthe worids most popular open source database.2t MySQL Ent电中rl豁 Monitor Servite- An auto

6、mated virtual database assistant.MySQL Production Support-Technical and consultative support when you need St; along with service packs, hot-fixesr and more.Cancel按“ finish ”完成安装。mysql配置向导启动界面,按“Next”继续MySQL Server Instance Configuration匚onfigurethe MySQL Server 55 server instance.Please select a co

7、nfiguration type.Detailed ConfigurationChoose this configuration type to create the optimal server setup forthis machine.Standard ConfigurationUse this only cin ma ch in 亡 & that do not already have a MySQL server installati an. This will uses gen eral purpose configuiration for th亡 server that can

8、b亡 tun亡M manually.1Cancel选择配置方式,“Detailed Configuration (手动精确配置)”、“Standard Configuration (标准配置),我们选择“Detailed Configuration”方便熟悉配置过程。MySQL Server Instance Configuration匚onfigure the MySQL Server 55 server instance.Please select the drive forthelnnoDB datafile if you do not want to use the default p

9、ftinn.InnoDB Tablespace SettingsPlease choose the drrveand d i rectory where th e In n o DB tablespace should be placed.llnstallation PathHI -1-Drive InfoVolume Name:NTFSFile System:| 15.2 GB Diskspace Used 2B.8 GB F-ee Disks pace1Cancel对InnoDB Tablespace进行配置,就是为InnoDB数据库文件选择一个存储空间, 如果修改了,要记住位置,重装的时

10、候要选择一样的地方,否则可能会造成数据库损坏,当 然,对数据库做个备份就没问题了,这里不详述。MySQL Server Instance Canfiguration匚onfigure the MySQL Server 55 server instance.Please set the approximate number of tcincurrent tcinnectionsto the server.( Decision Support (bssj/dLAFSelect this option for database applications that will not require a

11、 high number of tcincurrent tcinnections. A number of 2D connections will be assumed.Con current connections:Online Transaction Processing OLTP匚hoosethis option for highly concurrenttEpplicationEthat may have aitany one time up to 500 active connections such as heavily loaded web选择您的网站的一般mysql访问量,同时

12、连接的数目,“Decision Support(DSS)/OLAP (20 个左右)”、“Online Transaction Processing(OLTP) (500 个左右)”、“Manual Setting (手动设置,自己输一个数),我这里选“Online TransactionProcessing(OLTP)”,自己的服务器,应该够用了,按“Next”继续是否启用TCP/IP连接,设定端口,如果不启用,就只能在自己的机器上访问mysql 数据库了,我这里启用,把前面的勾打上,Port Number: 3306,在这个页面上,您还可 以选择启用标准模式(Enable Strict M

13、ode),这样MySQL就不会允许细小的语法错 误。如果您还是个新手,我建议您取消标准模式以减少麻烦。但熟悉MySQL以后,尽量使 用标准模式,因为它可以降低有害数据进入数据库的可能性。按Next继续这个比较重要,就是对mysql默认数据库语言编码进行设置,第一个是西文编码,第二个 是多字节的通用utf8编码,都不是我们通用的编码,这里选择第三个,然后在Character Set那里选择或填入“gbk,当然也可以用“gb2312,区别就是gbk的字库容量大,包括 了 gb2312的所有汉字,并且加上了繁体字、和其它乱七八糟的字一一使用mysql的时候, 在执行数据操作命令之前运行一次“SET

14、NAMES GBK;(运行一次就行了,GBK可以替 换为其它值,视这里的设置而定),就可以正常的使用汉字(或其它文字)了,否则不能正 常显示汉字。按“Next”继续。选择是否将mysql安装为wi ndows服务,还可以指定Ser vice Name (服务标识 名称),是否将mysql的bin目录加入到Windows PATH (加入后,就可以直接使用bin 下的文件,而不用指出目录名,比如连接,“mysql.exe -uusername -ppassword;”就 可以了,不用指出 mysql.exe 的完整地址,很方便),我这里全部打上了勾, Service Name 不变。按“Next

15、”继续。New root password:匚 onfirm:Enter the root password.Retype the password.MySQL Server Instance Configuration WizardMySQL Server Instance Canfiguration匚onfigure the MySQL Server 55 server instance.Please set th亡 security options.Modify Security SettingsEnable root access from remote machine?Create

16、An Anonymous AccountThis option will create an anonymcus account on this server. Please notethat this can lead to an insecure system.I BackCancel这一步询问是否要修改默认root用户(超级管理)的密码(默认为空),“New root passwo rd如果要修改,就在此填入新密码(如果是重装,并且之前已经设置了密码,在 这里更改密码可能会出错,请留空,并将“Modify Secu rity Sett in gs”前面的勾去掉,安 装配置完成后另行修改密

17、码),“Confirm (再输一遍)内再填一次,防止输错。“Enable root access from remote machines (是否允许root用户在其它的机器上登 陆,如果要安全,就不要勾上,如果要方便,就勾上它) ”。最后“Create An Anonymous Account (新建一个匿名用户,匿名用户可以连接数据库, 不能操作数据,包括查询),一般就不用勾了,设置完毕,按“Next继续。MySQL Server Instance Configuration WizardMySQL Server Instance ConfigurationConfigure the My

18、SQL Server 5.5 server instant亡,Processing configuration . Prepare configuration Write configuration file (C:Wam FilesMYSQLMYSQL Serv E.iW.iinu 词 Start servicej Apply security settingsConfig u ration file created.Windows service MySQL installed.Service started successfully.Press Finish to close the W

19、izard. BackIFinish 1确认设置无误,如果有误,按“Back”返回检查。按“Execute使设置生效。凶lySQL S er ver Ins t-sfcuc e Confi giorati Un Ti zsCrdProcessing conPguration .MySQL Server Instance ConfigurationConfigure the MySQL Server 5.Observer instanee.町 Prepare configurationWrite configuration file (FervarVvlySQLVvlySQL Server 5.

20、OVriy.iRi)Configuration file created. Windows service MySQL installed. Service started uccessFulIy.Security settings applied. 1ping localhostI -H -H -H -H .1.1.1.1 1C- .JI- .JI- .JI- . . p m m m m atwwolkfl-nil 1 1 i p=H具有32字节的数据:lmslmslmslms此时需卸载IPv6功能,使用命令ipv6 uninstall,卸载完成后再进行ping localhost,此时会发 现是有 127.0.0.1 返回数据,此时再继续执行安装程序,问题解决。

展开阅读全文
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!