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

Deployment of MySQL database on CentOS6.5 platform

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

Deployment of MySQL database on CentOS6.5 platform

Deploy MySQL-5.5.22

Plug-in ncurses-*,cmake-2.8.6 is required

The steps of the experiment:

First, compile and install the Mysql database system

1. Check whether mysql,mysql-server has been installed in the system through RPM, and if so, uninstall and install cmake

Installation of presentiment conditions

Confirm that there are installation packages for cmake and mysql

Confirm that mysql is not installed on the current system

Install cmake tools

two。 Install the MySQL database system through the source package and specify the customization function of the installation directory

Confirm that the installation has been successful

3. Establish the my.cnf configuration file and initialize the database

4. Authorize the service and add it to the service set to boot

5. Optimize command path

Second, start the mysqld service and set the password for the root user

1. Start the mysqld service

two。 Log in to the server using the mysql command

3. Delete records in the user table where the user name or password is empty.

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