UrbanPro
true

Learn DevOps Training from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Install MySQL 5.7

Raghu K
18/11/2021 0 0

# MySQL

MySQL is the database service which is needed for the application. So we need to install it and configure it for the application to work.

## Manual Steps to Install MySQL

As per the Application need, we are choosing MySQL 5.7 version.

1. Setup MySQL Repo


# echo '[mysql57-community]
name=MySQL 5.7 Community Server
baseurl=http://repo.mysql.com/yum/mysql-5.7-community/el/7/$basearch/
enabled=1
gpgcheck=0' > /etc/yum.repos.d/mysql.repo

 

2. Install MySQL


# yum install mysql-community-server -y

 

3. Start MySQL.


# systemctl enable mysqld
# systemctl start mysqld

 

4. Now a default root password will be generated and given in the log file.


# grep temp /var/log/mysqld.log

 

5. Next, We need to change the default root password in order to start using the database service.


# mysql_secure_installation


6. You can check the new password working or not using the following command.

 

# mysql -u root -p

 

 

0 Dislike
Follow 1

Please Enter a comment

Submit

Other Lessons for You

Expectation From An AWS Associate Architect
Designing and Deploying scalable, highly available, and fault tolerant systems on AWS (These are the key points). Migration of an existing on-premises application to AWS (Database). Ingress...

Top 6 Technology Trends for 2020
Technology has been evolving at a pace that the annual predictions about trends may seem to be outdated before they go live as a published blog post or article. The technology when evolves...

Best Practices for Securing our Docker Containers
Best Practices for Securing our Docker Containers

Lesson About CI & CD , Continuous Integration & Continuous Deployment
1. What is Continuous Integration ? Continuous Integration (CI) is a development practice that requires developers to integrate code into a shared repository several times a day. Each check-in is then...
D

DevOps Git Lession
*********** GIT ************Git Index:==========1. Introduction to git2. Terminology3. Repo4. gitignore5. logs6. Branching7. Merging8. stash9. unstaging(rm, reset, revert)10. Tags11. bisect12. HEAD13....
X

Looking for DevOps Training Classes?

The best tutors for DevOps Training Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn DevOps Training with the Best Tutors

The best Tutors for DevOps Training Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more