Home Database Mysql Tutorial Linux5下安装MySQL5.6(RPM方式)_MySQL

Linux5下安装MySQL5.6(RPM方式)_MySQL

Jun 01, 2016 pm 01:17 PM
internet Tencent Ali field

MySQL在很多领域被广泛使用,尤其是很多互联网企业,诸如腾讯,阿里等等。本文主要介绍在Linux 5下通过rpm方式来安装Mysql,这是比较简单的一种安装方式,具体详见下文。

1、准备对应的安装文件

2、MySQL默认安装路径 

3、安装MySQL

A RANDOM PASSWORD HAS BEEN SET FOR THE MySQL root USER !

You must change that password on your first connect,

Also, the account for the anonymous user has been removed.

In addition, you can run:

/usr/bin/mysql_secure_installation

# Author : Leshami

which will also give you the option of removing the test database.

...........中间省略................

[root@linux1 Mysql_src]# rpm -ivh MySQL-client-advanced-5.6.17-1.rhel5.i386.rpm

[root@linux1 Mysql_src]# rpm -ivh MySQL-devel-advanced-5.6.17-1.rhel5.i386.rpm

4、初始化MySQL及密码

[root@linux1 Mysql_src]# mysql -u root -p

mysql> set PASSWORD=PASSWORD('mysql');

mysql> show databases;

5、允许远程登陆

mysql> update user set password=password('mysql') where user='root';

6、配置开机自启动

更多参考

Oracle 闪回区(Oracle Flash recovery area)

Oracle 快照控制文件(snapshot control file)

中小型数据库 RMAN CATALOG 备份恢复方案(一)

中小型数据库 RMAN CATALOG 备份恢复方案(二)

中小型数据库 RMAN CATALOG 备份恢复方案(三)

基于RMAN实现坏块介质恢复(blockrecover)

用 DBMS_REPAIR 修复坏块

RMAN 数据库克隆文件位置转换方法

基于RMAN的异机数据库克隆(rman duplicate)

基于 RMAN 的同机数据库克隆

基于用户管理的同机数据库克隆

基于RMAN从活动数据库异机克隆(rman duplicate from active DB)

RMAN duplicate from active 时遭遇 ORA-17627 ORA-12154

Oracle 冷备份

Oracle 热备份

Oracle 备份恢复概念

Oracle 实例恢复

Oracle 基于用户管理恢复的处理

SYSTEM 表空间管理及备份恢复

SYSAUX表空间管理及恢复

Oracle 基于备份控制文件的恢复(unsing backup controlfile)

RMAN 概述及其体系结构

RMAN 配置、监控与管理

RMAN 备份详解

RMAN 还原与恢复

RMAN catalog 的创建和使用

基于catalog 创建RMAN存储脚本

基于catalog 的RMAN 备份与恢复

RMAN 备份路径困惑

自定义 RMAN 显示的日期时间格式

只读表空间的备份与恢复

Oracle 基于用户管理的不完全恢复

理解 using backup controlfile

使用RMAN实现异机备份恢复(WIN平台)

使用RMAN迁移文件系统数据库到ASM

基于Linux下 Oracle 备份策略(RMAN)

Linux 下RMAN备份shell脚本

使用RMAN迁移数据库到异机

RMAN 提示符下执行SQL语句

Oracle 基于 RMAN 的不完全恢复(incomplete recovery by RMAN)

rman 还原归档日志(restore archivelog)

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Repo: How To Revive Teammates
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Alibaba Cloud announced that the 2024 Yunqi Conference will be held in Hangzhou from September 19th to 21st. Free application for free tickets Alibaba Cloud announced that the 2024 Yunqi Conference will be held in Hangzhou from September 19th to 21st. Free application for free tickets Aug 07, 2024 pm 07:12 PM

According to news from this website on August 5, Alibaba Cloud announced that the 2024 Yunqi Conference will be held in Yunqi Town, Hangzhou from September 19th to 21st. There will be a three-day main forum, 400 sub-forums and parallel topics, as well as nearly four Ten thousand square meters of exhibition area. Yunqi Conference is free and open to the public. From now on, the public can apply for free tickets through the official website of Yunqi Conference. An all-pass ticket of 5,000 yuan can be purchased. The ticket website is attached on this website: https://yunqi.aliyun.com/2024 /ticket-list According to reports, the Yunqi Conference originated in 2009 and was originally named the First China Website Development Forum. In 2011, it evolved into the Alibaba Cloud Developer Conference. In 2015, it was officially renamed the "Yunqi Conference" and has continued to successful move

Big model app Tencent Yuanbao is online! Hunyuan is upgraded to create an all-round AI assistant that can be carried anywhere Big model app Tencent Yuanbao is online! Hunyuan is upgraded to create an all-round AI assistant that can be carried anywhere Jun 09, 2024 pm 10:38 PM

On May 30, Tencent announced a comprehensive upgrade of its Hunyuan model. The App "Tencent Yuanbao" based on the Hunyuan model was officially launched and can be downloaded from Apple and Android app stores. Compared with the Hunyuan applet version in the previous testing stage, Tencent Yuanbao provides core capabilities such as AI search, AI summary, and AI writing for work efficiency scenarios; for daily life scenarios, Yuanbao's gameplay is also richer and provides multiple features. AI application, and new gameplay methods such as creating personal agents are added. "Tencent does not strive to be the first to make large models." Liu Yuhong, vice president of Tencent Cloud and head of Tencent Hunyuan large model, said: "In the past year, we continued to promote the capabilities of Tencent Hunyuan large model. In the rich and massive Polish technology in business scenarios while gaining insights into users’ real needs

What are the five most profitable areas of self-media? What is the direction of Douyin's support in 2024? What are the five most profitable areas of self-media? What is the direction of Douyin's support in 2024? Mar 22, 2024 am 10:11 AM

With the rapid development of the Internet, the self-media industry has become the focus of more and more people's attention. In this industry, some areas have attracted much attention due to their broad market prospects and profitability. This article will reveal to you the five most profitable areas of self-media, while discussing the direction of Douyin’s support in 2024 to help you better grasp the development opportunities of self-media. 1. What are the five most profitable areas of self-media? With the rise of online education, the field of education and training has become increasingly popular. People are willing to invest in acquiring knowledge and skills, not only in academic courses but also in skills training and workplace advancement. Self-media creators can achieve profitability by creating high-quality educational content to attract students to pay for learning. This trend shows that people are interested in lifelong learning

Tencent QQ NT architecture version memory optimization progress announced, chat scenes are controlled within 300M Tencent QQ NT architecture version memory optimization progress announced, chat scenes are controlled within 300M Mar 05, 2024 pm 03:52 PM

It is understood that Tencent QQ desktop client has undergone a series of drastic reforms. In response to user issues such as high memory usage, oversized installation packages, and slow startup, the QQ technical team has made special optimizations on memory and has made phased progress. Recently, the QQ technical team published an introductory article on the InfoQ platform, sharing its phased progress in special optimization of memory. According to reports, the memory challenges of the new version of QQ are mainly reflected in the following four aspects: Product form: It consists of a complex large panel (100+ modules of varying complexity) and a series of independent functional windows. There is a one-to-one correspondence between windows and rendering processes. The number of window processes greatly affects Electron’s memory usage. For that complex large panel, once there is no

Tencent is incredibly fast! 'Phantom Parlu' only became popular for 3 days, and Tencent started to imitate it? Working overtime to study Palu Tencent is incredibly fast! 'Phantom Parlu' only became popular for 3 days, and Tencent started to imitate it? Working overtime to study Palu Jan 23, 2024 pm 05:51 PM

As we all know, the biggest hot spot in the gaming industry in the past three days has been the new Pokémon-like online game "Eidolon Pallu". It has achieved 4 million sales in three days. Underneath the not-so-refined appearance is a heart that returns to the essence of fun, especially This made many Pokémon fans burst into tears: GF, can you study hard! But what quickly followed was a group of friends who were also engaged in pet-catching and construction, such as Tencent's "Create It!" Our Planet". This project has been around for a long time and was exposed as early as August 2020. It is a seamless planet world exploration and construction sandbox mobile game focusing on multiplayer social interaction and co-creation. In the most recent test (November 2023), "Create!" "Our Planet" has the theme of "Let's go! Magical creatures in space!", and "Fantasy"

Up owners have already started to play tricks. Tencent opens up 'AniPortrait' to let photos sing and speak. Up owners have already started to play tricks. Tencent opens up 'AniPortrait' to let photos sing and speak. Apr 07, 2024 am 09:01 AM

AniPortrait models are open source and can be played with freely. "A new productivity tool for Xiaopozhan Ghost Zone." Recently, a new project released by Tencent Open Source received such evaluation on Twitter. This project is AniPortrait, which generates high-quality animated portraits based on audio and a reference image. Without further ado, let’s take a look at the demo that may be warned by a lawyer’s letter: Anime images can also speak easily: The project has already received widespread praise after just a few days since it was launched: the number of GitHub Stars has exceeded 2,800. Let’s take a look at the innovations of AniPortrait. Paper title: AniPortrait:Audio-DrivenSynthesisof

Alibaba Game Company's 'Lingxi Interactive Entertainment' has changed its leadership and will be replaced by Zhou Bingshu, the producer of 'Three Kingdoms: Strategy Edition' Alibaba Game Company's 'Lingxi Interactive Entertainment' has changed its leadership and will be replaced by Zhou Bingshu, the producer of 'Three Kingdoms: Strategy Edition' Mar 13, 2024 pm 07:55 PM

According to Game Grape, Zhan Zhonghui (Dingdang), the business leader of Alibaba’s gaming company Lingxi Interactive Entertainment, announced in an internal email that he and Chen Wei’an will step down at the end of the fiscal year (March 31). He also revealed that the position will be taken over by Zhou Bingshu (Uncle Cake), the producer of "Three Kingdoms Strategy Edition". The content of the email has not been made public. Dear friends of Lingxi, since its establishment seven years ago, Lingxi Interactive Entertainment has established considerable brand influence in the minds of players through a series of excellent works with the joint efforts of all team members and the full support of the group, and has gradually emerged in the industry. . As the talent echelon is gradually improving, Lingxi’s young people have grown rapidly and are now able to take on the important task of leading Lingxi’s continued development. By the end of this fiscal year, Lao Chen, Chunjiao and I will officially step down from our posts as class committee members and hand over to Bingshu.

Tencent Photon H Studio is hiring in Hangzhou and plans to make a 3A open world RPG Tencent Photon H Studio is hiring in Hangzhou and plans to make a 3A open world RPG Feb 05, 2024 pm 01:45 PM

Recently, Tencent Interactive Entertainment Recruitment released a recruitment information, indicating that Photon H Studio is committed to developing a content-rich, AAA-level open world RPG project. The hot recruitment positions cover multiple fields such as UE5 engineers, backend, level design, action scene design, character modeling, special effects and distribution. The target working location of these positions is in Hangzhou, where NetEase is headquartered.

See all articles