How to install linux MySQL

Source: Internet
Author: User

1. Fortunately it's very easy to check if the MySQL server isRunning:
$ PS-El | grep mysqld
If you see one or more mysqld processes running, the server has been started.

2. Installation command: sudo apt-Get install mysql-client-core-5.5

3. Try typing \ s to get some additional information on your server.

4. You can get more information by usingMysql -?
Command, which prints even more details about
The server. In the output there is one important thing to check for. After the list of arguments, you will
Usually see something like default options are read from the following files in
Given Order:. This tells you where to find the configuration file that you will use if you need to configure
Your MySQL server. The usual configuration file is/Etc/My. CNF, Though some distributions, like
Ubuntu, use/Etc/MySQL/My. CNF.

5.Mysqladmin-u root version
The output will serve not only to confirm that the server is running but also to give you the version
Number of the server you are using.

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.