SOP MySQL-Binary Installation(1) (1)
SOP MySQL-Binary Installation(1) (1)
For
1. Introduction
In This Standard Operating Procedure (SOP), we get to know how to install MySQL in Linux. To provide
architecture view of application and step by step execution guidelines to team of a system in case of
disruption, to facilitate recovery within the stipulated timeframes to ensure business continuity with
minimal impact on business operation.
2.Application Architecture
Technology OpensourceDB
Database MySQL
Environment PROD/PRE-PROD/UAT/DR
3. Prerequisites
4. Start Criteria
Bi-directional communication should be in place. Check telnet from primary server to secondary server
and vice versa.
To install MySQL Binary-generic on Linux Download the generic source code file (tar.gz) from MySQL
official website.
https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.33-linux-glibc2.28-x86_64.tar.gz
Under MySQL community server, select operating system as Linux-generic, and OS version as
preferred.
Then click on download.
Copy the link address and using wget command download it in Linux.
Extract the file on /usr/local/
Then add one group and user and checked
Then check the group add or not
Go to cd /usr/local
Create the symbolic link of MySQL
Create directories in /usr/local/ directory And change the permission of MySQL files
Check permissions
Then create configuration file
initialize the process
Create another one symbolic link
Start MySQL service
Check temporary password using cat command
Login into MySQL
After this, we need to reset the temporary password that we have got earlier.
6.Technical Flow
Firstly, Download the generic source code file (tar.gz) from MySQL official website.
https://dev.mysql.com/downloads/mysql/
Copy the link address and using wget command download it in linux.
After extract file then add one group and user and checked
Check permissions
Go to the below path and initialize the process using below command , And copy file on below path.
groupadd mysql
useradd -r -g mysql -s /bin/false mysql
ln -s mysql-5.7.33-linux-glibc2.12-x86_64/ mysql
ls -lrth mysql
mkdir mysql-files
chown mysql:mysql mysql-files
chmod 750 mysql-files
mkdir mysql_log
chown -R mysql.mysql mysql_log/
vi /etc/my.cnf
[client]
[mysqld]
basedir=/usr/local/mysql
datadir=/usr/local/mysql/data
log-error=/usr/local/mysql_log/mysql.err
cp ./support-files/mysql.server /etc/init.d/mysqld
ln -s /usr/local/mysql/bin/mysql /usr/bin
8. References
https://dev.mysql.com/downloads/mysql/
9.Made By
10.Escalation Matrix
Escalation Matrix
Manager Mr. Krishnanand Tiwari [email protected]
Team Lead Mr.Sumit Kajwe [email protected]
Techno- MySQ Mon- Postgr-
logy L goDB eSQL DB2
Hyndav [email protected]
Amit Mayur Subham [email protected]
i
[email protected]
Pran- [email protected]
Dhruv Vaibhav [email protected]
jal
[email protected]