MySQL - Installation

Installation

The latest version can be downloaded from http://www.mysql.com/downloads/mysql#downloads

 

Enter the server’s hostname and IP address in /etc/hosts.

 

If there are going to be structure such as active and passive databases in the clusters, each servers hostname and IP address need to entered to prevent issues.

 

127.0.0.1 localhost.localdomain localhost

192.168.56.101 db01.local.domain db01
Installing MySQL from RPM packages

To view the rpm packages’ yum repository on the CD

Installing from tar.gz packages

Arrange the my.cnf file as required and copy to the /etc/ folder.
If there is an existing file from a prior version, copy it: cp /etc/my.cnf /etc/my.cnf_prior

If there is a previous MySQL setup:

To commence:

View the log dumps

To check

Kategori seçin...