How to view versions on a MySQL server

Source: Internet
Author: User

Select version ();


The 1,mysql daemon is mysqld
[[Email protected] ~]# service mysqld start
Start MySQL: [OK]

You can see if your service has been added to Linux.
[Email protected] ~]# chkconfig--list mysqld
Mysqld 0: Off 1: Off 2: Off 3: Off 4: Off 5: Enable 6: Off
[Email protected] ~]#
If not, add first, with Chkconfig--add mysqld
Then set the service to On at level 3 5
Chkconfig--level mysqld on
Then the service start a bit;
Once you have started the service, you can check to see if the server is running
[Email protected] ~]# Ps-el | grep mysqld
4 S 0 1796 1 0 0-1513 wait? 00:00:00 Mysqld_safe
4 S 27 1856 1796 0 78 0-34055-? 00:00:00 mysqld
[Email protected] ~]#
If you see one, it means the server is installed ~ ~
(It is possible that the bottom version of the MySQL daemon is MySQL, you have to try it)

How to view versions on a MySQL server

Related Article

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.