Home > Database > Mysql Tutorial > MySQL 在Linux上的安装 (RedHat 5.5)

MySQL 在Linux上的安装 (RedHat 5.5)

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:01:14
Original
971 people have browsed it

4.Filezilla传递rpm包至安装目录(先建立mysql用户,用其连接,默认不推荐root连ftp,安全习惯hellip;hellip;)啊,忘了配置目

get your rhlinux ok,let's go~

1.下载mysql server and client。

登陆mysql网站->download,我们选择的是稳定的mysql server5.5

RedHat,Linux,MySQL

2.设置虚拟机网络,和墨这里选择的是host-only,在真机中配下vmnet1的网络,再在虚拟机中配置在同一网段,并以wmnet1的ip作为主机地址,这样不管真机在何种网络条件下(各种wifi的dhcp之类)都可以固定ip访问虚拟机。

RedHat,Linux,MySQL

3.开启putty,增加用户组和用户,分配安装目录

RedHat,Linux,MySQL

RedHat,Linux,MySQL

1:  groupadd mysql

2:  useradd mysql -g mysql

3:  passwd mysql

4:  cd /usr/local

5:  mkdir mysql

.codearea{ color:black;  background-color:white;  line-height:18px;  border:1px solid #4f81bd;  margin:0;  width:auto !important;  width:100%;  overflow:auto;  text-align:left;  font-size:12px;  font-family: "Courier New","Consolas","Fixedsys","BitStream Vera Sans Mono", courier,monospace,serif}

.codearea pre{ color:black; line-height:18px;  padding:0 0 0 12px !important; margin:0em;  background-color:#fff !important}

.linewrap pre{white-space:pre-wrap;  white-space:-moz-pre-wrap;  white-space:-pre-wrap;  white-space:-o-pre-wrap;  word-wrap:break-word;  word-break:normal}

.codearea pre.alt{ background-color:#f7f7ff !important}

.codearea .lnum{color:#4f81bd;line-height:18px}

linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template