资源描述:
《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上下
2、载,不过Edelivery现在已经屏蔽了中国的IP,如果国内的用户一般不能从edelivery上下载,需要翻墙出去才能下载。 1.1官方文档上有关MySQL安装文件类型说明: http://dev.mysql.com/doc/refman/5.5/en/index.html LinuxsupportsanumberofdifferentsolutionsforinstallingMySQL.TherecommendedmethodistouseoneofthedistributionsfromOracle.Ifyouch
3、oosethismethod,therearethreeoptionsavailable:(1)Installingfromagenericbinarypackagein .tar.gz format.See Section 2.2,“InstallingMySQLfromGenericBinariesonUnix/Linux” formoreinformation.(2)ExtractingandcompilingMySQLfromasourcedistribution.Fordetailedinstructions,see S
4、ection 2.9,“InstallingMySQLfromSource”.(3)Installingusingapre-compiledRPMpackage.FormoreinformationonusingtheRPMsolution,see Section 2.5.1,“InstallingMySQLfromRPMPackagesonLinux”. --这里讲了3种方式来安装MySQL数据库,我这里用最简单的RPM包来安装。 Asanalternative,youcanusethenativepackageman
5、agerwithinyourLinuxdistributiontoautomaticallydownloadandinstallMySQLforyou.NativepackageinstallationscantakeofthedownloadanddependenciesrequiredtorunMySQL,buttheMySQLversionwilloftenbesomewaybehindthecurrentlyavailablerelease.Youwillalsonormallybeunabletoinstalldevel
6、opmentalreleases,asthesearenotusuallymadeavailableinthenativerepository.Formoreinformationonusingthenativepackageinstallers,see Section 2.5.2,“InstallingMySQLonLinuxusingNativePackageManager”. NoteFormanyLinuxinstallations,youwillwanttosetupMySQLtobestartedautomatical
7、lywhenyourmachinestarts.Manyofthenativepackageinstallationsperformthisoperationforyou,butforsource,binaryandRPMsolutionsyoumayneedtosetthisupseparately.Therequiredscript, mysql.server,canbefoundinthe support-filesdirectoryundertheMySQLinstallationdirectoryorinaMySQLso
8、urcetree.Youcaninstallitas/etc/init.d/mysql forautomaticMySQLstartupandshutdown.See Section 2.10.1.2,“StartingandStoppingMyS