MySQL Database system

Source: Internet
Author: User

How to build a MySQL database

1) Uninstall the original MySQL this is the rpm way to install MySQL, so use rpm-e MySQL--nodeps to uninstall


2) Open after mounting

3) Mysql5.5 need to install CMake compile installation, so install CMake package first


To use Gmake is not make, remember,

4) Create a run user reconciliation package


5) Configuring and compiling the installation

Live: I have made && make install at the back of the configuration command, you can directly compile and install the

6) Setting up the configuration file

7) Initializing the database

8) Setting Environment variables

9) Yes to/etc/profile plus x permission

10) then execute in./etc/profile

11) Adding system services


12) Add permissions to/etc/rc.d/init.d/mysqld

13) Open MySQL service Access database

14) Basic Commands
15) See what databases are in the current server

16) See what tables are in the MySQL database

17) Common Commands
18) Create a new database auth and tables users

The MySQL database above is set up and then into MySQL to create tables and data,










MySQL Database system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.