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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

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)

Hot Topics

Java Tutorial
1664
14
PHP Tutorial
1266
29
C# Tutorial
1239
24
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

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

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 2025 campus recruitment starts: Graduation time expanded from one year to two years Tencent 2025 campus recruitment starts: Graduation time expanded from one year to two years Aug 07, 2024 pm 08:17 PM

According to news from this site on August 7, Tencent’s 2025 campus recruitment was officially launched yesterday. Following the recruitment of interns in 2024 and the “Qingyun Plan” AI large model recruitment special project, it once again issued an “enrollment expansion” signal: not only the recruitment scale is larger than the previous two years There has been a huge growth, and the graduation time range for people has also been further expanded. According to reports, Tencent’s campus recruitment in 2025 will open more than 70 positions in five major categories: technology, product, market, design, and function. There will be many changes in Tencent’s campus recruitment this year. The graduation time range for campus recruitment will be expanded from one year to two years. Students who graduate from January 2024 to December 2025 (Graduation Certificate shall prevail in Mainland China, Degree Certificate shall prevail in Hong Kong, Macao, Taiwan and overseas regions) can apply through Tencent’s official recruitment website and “Tencent

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 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.

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

Tencent mobile game 'Walnut Diary' is resurrected, and 17,000 people signed up for testing! It is expected to be officially launched in mid-to-late March. Tencent mobile game 'Walnut Diary' is resurrected, and 17,000 people signed up for testing! It is expected to be officially launched in mid-to-late March. Mar 12, 2024 pm 03:28 PM

Recently, Tencent announced the restart of "Walnut Diary", which was suspended last year (at 12:00 on February 15, 2023), and started recruitment for the second test. According to official disclosures, more than 1,000 people have signed up for the 2,000-person test, and the test is expected to start in mid-to-late March. The original "Walnut Diary" is a beautiful girl companionship and development mobile game developed by Giant Network and published by Tencent Games. It was released on April 16, 2021, and the Taiwan server was released on October 14, 2021. It is claimed that "players can live and farm together with the popular emoticon girl Nanase Kurumi, and easily cultivate your Kurumi." However, the revenue of "Walnut Diary" has been poor since its launch. It was finally removed from the shelves in December 2022 and suspended in February 2023. Cute display, the protagonist Nanase

See all articles