欢迎来到天天文库
浏览记录
ID:6076609
大小:123.24 KB
页数:15页
时间:2018-01-02
《mysql在linux64位下安装步骤完整版》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、一.下载说明前期的一些准备说明,参考:MySQL发展史http://blog.csdn.net/tianlesoftware/article/details/6999245 Mysql不同版本说明http://blog.csdn.net/tianlesoftware/article/details/6723117MySQL分为CommunityServer和EnterpriseEdition。其中CommunityServer可以直接从mysql的官网下载。EnterpriceEdition只能从Oracleedelivery上下载,不过Edelivery现在已经屏
2、蔽了中国的IP,如果国内的用户一般不能从edelivery上下载,需要翻墙出去才能下载。 1.1官方文档上有关MySQL安装文件类型说明: http://dev.mysql.com/doc/refman/5.5/en/index.html LinuxsupportsanumberofdifferentsolutionsforinstallingMySQL.TherecommendedmethodistouseoneofthedistributionsfromOracle.Ifyouchoosethismethod,therearethreeoptionsa
3、vailable:(1)Installingfromagenericbinarypackagein .tar.gz format.See Section 2.2,“InstallingMySQLfromGenericBinariesonUnix/Linux” formoreinformation.(2)ExtractingandcompilingMySQLfromasourcedistribution.Fordetailedinstructions,see Section 2.9,“InstallingMySQLfromSource”.(3)Installingus
4、ingapre-compiledRPMpackage.FormoreinformationonusingtheRPMsolution,see Section 2.5.1,“InstallingMySQLfromRPMPackagesonLinux”. --这里讲了3种方式来安装MySQL数据库,我这里用最简单的RPM包来安装。 Asanalternative,youcanusethenativepackagemanagerwithinyourLinuxdistributiontoautomaticallydownloadandinstallMySQLfor
5、you.NativepackageinstallationscantakeofthedownloadanddependenciesrequiredtorunMySQL,buttheMySQLversionwilloftenbesomewaybehindthecurrentlyavailablerelease.Youwillalsonormallybeunabletoinstalldevelopmentalreleases,asthesearenotusuallymadeavailableinthenativerepository.Formoreinformation
6、onusingthenativepackageinstallers,see Section 2.5.2,“InstallingMySQLonLinuxusingNativePackageManager”. NoteFormanyLinuxinstallations,youwillwanttosetupMySQLtobestartedautomaticallywhenyourmachinestarts.Manyofthenativepackageinstallationsperformthisoperationforyou,butforsource,binaryand
7、RPMsolutionsyoumayneedtosetthisupseparately.Therequiredscript, mysql.server,canbefoundinthe support-filesdirectoryundertheMySQLinstallationdirectoryorinaMySQLsourcetree.Youcaninstallitas/etc/init.d/mysql forautomaticMySQLstartupandshutdown.See Section 2.10.1.2,“StartingandStoppingMyS
此文档下载收益归作者所有