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

Docker overlay realizes container intercommunication across hosts

Table of contents 1. Docker configuration 2. Crea...

WeChat applet realizes the function of uploading pictures

This article example shares the specific code for...

Understanding and usage scenarios of ES6 extension operators

Table of contents 1. Replace the apply method, ge...

UTF-8 and GB2312 web encoding

Recently, many students have asked me about web p...

MYSQL slow query and log example explanation

1. Introduction By enabling the slow query log, M...

Detailed explanation of Vue slot

1. Function : Allows the parent component to inse...

js to achieve interesting countdown effect

js interesting countdown case, for your reference...

Solution to 404 Problem of Tomcat Installation in Docker

Find the containerID of tomcat and enter the toma...

A brief discussion on the principle of React two-way data binding

Table of contents What is two-way data binding Im...

Docker deploys nginx and mounts folders and file operations

During this period of time, I was studying docker...

Cross-domain issues in front-end and back-end separation of Vue+SpringBoot

In the front-end and back-end separation developm...

A few steps to easily build a Windows SSH server

The SSH mentioned here is called Security Shell. ...

Some indicators of excellent web front-end design

The accessibility of web pages seems to be somethi...

Example code of vue custom component to implement v-model two-way binding data

In the project, you will encounter custom public ...