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

Introduction to the steps and related directories of installing mysql under fedora 12

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

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "fedora 12 installation mysql steps and related directory introduction," interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let Xiaobian take you to learn "fedora 12 steps to install mysql and related directory introduction"!

Fedora 12 installation mysql and related directory introduction

Open the terminal and log in as su user

input

Shell code

yum install mysql mysql-server

After the above two packages are installed

input

Shell code

chkconfig --levels 235 mysqld on /etc/init.d/mysqld start

Set the system to start automatically mysql service

Enter www.2cto.com

Shell code

/etc/init.d/mysqld start

Start the mysql service now

To set a password for root, enter

Shell code

mysqladmin -u root password 19871015 (your password)

input

Shell code

mysql -u root -p

Log in to Mysql and enter ps into mysql.

Related catalogue introduction:

/var/lib/mysql/directory

/usr/share/ mysql.server command and configuration file

/usr/bin mysqladmin mysqldump and other commands

/etc/rc.d/init.d Directory of startup script file mysql

Partial orders:

Shell code

/usr/bin/mysqladmin -u root 19871015 new-ps //modify login password

The requested URL/etc/init. www.2cto.com

/usr/bin/mysqladmin -u root -pshutdown //stop mysql

Self-start settings:

Shell code

/sbin/chkconfig --list //Check if mysql is on the auto-boot list

/sbin/chkconfig --add mysql //add mysql to your startup services group

/sbin/chkconfig --del mysql //remove mysql from startup service

At this point, I believe that everyone has a deeper understanding of the "steps to install mysql under fedora 12 and related directories", so you may wish to actually operate it! Here is the website, more related content can enter the relevant channels for inquiry, pay attention to us, continue to learn!

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