Simple method to install mysql under linux

Simple method to install mysql under linux

When searching online for methods to install MySQL under Linux, many methods appeared, but many of them were complicated and not necessarily successful. After trying for a long time, I finally found a simple method. Let me talk about how I installed it.

1. Prepare the installation package

(1)mysql-client-5.5.8-1.rhel5.x86_64.rpm

(2)MySQL-devel-5.5.8-1.rhel5.x86_64.rpm

(3)MySQL-server-5.5.8-1.rhel5.x86_64.rpm

2. Upload the downloaded installation package to Linux

3. Install three installation packages of MySQL

rpm -ivh MySQL-server-5.5.8-1.rhel5.x86_64.rpm --nodeps --force
rpm -ivh MySQL-devel-5.5.8-1.rhel5.x86_64.rpm --nodeps --force
rpm -ivh MySQL-client-5.5.8-1.rhel5.x86_64.rpm --nodeps --force

Add -nodeps -force to avoid being affected by dependencies

4 Start MySQL

service mysql start

Now you can use mysql

Summarize

The above is a simple method for installing MySQL under Linux that I introduced to you. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!

You may also be interested in:
  • Linux CentOS6.5 yum install mysql5.6
  • View MySQL installation information under Linux server
  • Linux learning third Centos7 installation mysql5.7.16 database
  • Linux CentOS MySQL 5.7.18 5.7.X Installation Tutorial
  • The whole process and precautions of installing MySql 5.7.17 under the latest Linux system
  • Install mysql5.7.17 using RPM under Linux
  • Detailed tutorial for installing MySQL on Linux
  • Linux uses rpm to install the latest mysql (5.7.16) steps and common problem solutions

<<:  Solutions to Files/Folders That Cannot Be Deleted in Linux

>>:  Detailed explanation of two ways to dynamically change CSS styles in react

Recommend

IDEA uses the Docker plug-in (novice tutorial)

Table of contents illustrate 1. Enable Docker rem...

How to make Python scripts run directly under Ubuntu

Let’s take the translation program as an example....

How to add Nginx proxy configuration to allow only internal IP access

location / { index index.jsp; proxy_next_upstream...

MySQL Community Server 5.7.19 Installation Guide (Detailed)

MySQL official website zip file download link htt...

MySQL inspection script (must read)

As shown below: #!/usr/bin/env python3.5 import p...

HTML realizes real-time monitoring function of Hikvision camera

Recently the company has arranged to do some CCFA...

Solving problems encountered when importing and exporting Mysql

background Since I converted all my tasks to Dock...

How to create a Pod in Kubernetes

Table of contents How to create a Pod? kubectl to...

Float and Clear Float in Overview Page

1. Float: The main purpose is to achieve the effe...

Mysql classic high-level/command line operation (quick) (recommended)

Since I need to learn how to build servers and da...

Summary of seven sorting algorithms implemented in JavaScript (recommended!)

Table of contents Preface Bubble Sort Basic Algor...

Three Vue slots to solve parent-child component communication

Table of contents Preface Environment Preparation...