Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Operation flow of MySQL database service software

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

The following content mainly brings you the operation flow of MySQL database service software, the knowledge mentioned here is slightly different from books, it is summed up by professional and technical personnel in the process of contact with users, and has a certain value of experience sharing, hoping to bring help to the majority of readers.

Database service software is divided into the following two types

1. Relational database service software RDBMS

Oracle (cross-platform, not open source) MySQL (cross-platform, open source) DB2 (cross-platform.) SQL Server (charge)

two。 Non-relational database software NoSQL

The source of the bag? There are downloads on the Internet, and there are plenty of system installation CDs.

What is the type of packet? Rpm source code package

What I'm going to introduce to you today is mysql database.

Port number: 3306

Required software package: MySQL

Verification: rpm-qa | grep-I mysql

Default master profile: / etc/my.cnf

Database directory: / var/lib/mysql

It is usually basic to start service: systemctl start mysqld

If the computer was previously loaded with MySQL, enter this command if you need to upgrade a higher version of MySQL

Rpm-Uvh MySQL package upgrade installation

Check the database password. GREP password / var/log/mysqld.log

# since the initial password of the database is randomly generated, it is recommended to add a colon ""

Then log in with the initial password and reset the login password

Mysql-hlocalhost-uroot-p "password"

Connect to your own database

Mysql-hlocalhost-uroot

Landing

Example: mysql-uroot-hlocalhost-p "Popg%wflo1k2"

User name and password

Reset password login

Enter set global validate_password_length=6; # to change the password length after login

Set global validate_password_policy=0; # change the default value

Alter user root@ "localhost" identified by "self-configured password"

The above three items are performed in the database and belong to temporary configuration. If you need to take effect permanently, exit after entering on the command line and add two commands to change the default value and password length in the main configuration file, and then restart the service. The password can be permanently valid.

For the above MySQL database service software operation process, if you need to know more, you can continue to pay attention to the innovation of our industry, if you need professional answers, you can contact the pre-sale and after-sale on the official website. I hope this article can bring you some knowledge updates.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report