标签:
参考:
http://www.blogjava.net/amigoxie/archive/2013/02/22/395605.html
http://bbs.aliyun.com/read/177043.html?spm=5176.7189909.0.0.ZiC5I8
1, 在线下载mysql
wget –c http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-server-5.6.10-1.rhel5.x86_64.rpm/from/http://cdn.mysql.com
wget –c http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-client-5.6.10-1.rhel5.x86_64.rpm/from/http://cdn.mysql.com
wget –c http://dev.mysql.com/get/Downloads/MySQL-5.6/MySQL-devel-5.6.10-1.rhel5.x86_64.rpm/from/http://cdn.mysql.co
1,
4,rpm -ivh MySQL-devel-5.5.28-1.rhel5.i386.rpm
(1)数据库目录
/var/lib/mysql/
(2)配置文件
/usr/share/mysql(mysql.server命令及配置文件)
(3)相关命令
/usr/bin(mysqladmin mysqldump等命令)
(4)启动脚本
/etc/rc.d/init.d/(启动脚本文件mysql的目录)
若想查看MySQL安装到哪个目录,可使用“whereis mysql”命令查看,参考执行结果如下所示:
Aaliyun Linux 64 安装jdk+mysql+tomcat
标签:
原文地址:http://www.cnblogs.com/holdon521/p/4930048.html