MySQL official version number name and post-installation view information, number of digits

Source: Internet
Author: User
Tags mysql version what bit wrapper

Friends said that his mysql5.6 is 32, let me use the source to install a 64, before the MySQL related version and the number of bits, a small sum

Source package, what you compile on the number of bits, is what the number of installation package, the source package does not distinguish between the number of bits

One, there will be several versions of the selection in this download interface.

Http://blog.sina.com.cn/s/blog_62b37bfe0101he5t.html

http://blog.itpub.net/12679300/viewspace-1251661/

1. MySQL Community Server Community version, open source is free, but does not provide official technical support.
2. MySQL Enterprise Edition is available for a fee and can be tested for 30 days.
3. MySQL Cluster Cluster Edition, open source free. Several MySQL servers can be packaged as one server.
4. MySQL Cluster CGE Premium Cluster Edition is subject to a fee.
5. mysql Workbench (GUI tool) is a er/database modeling tool designed for MySQL. It is a successor to the famous database design tool DBDesigner4. MySQL Workbench is also divided into two versions, namely the Community Edition (MySQL Workbench OSS), the Business Edition (MySQL Workbench SE).

MySQL Community Server is open source free, which is also the version of MySQL we usually use.

GA refers to a generic version of a software, usually a formally released version.

MySQL Enterprise Edition is a proven and trustworthy platform that includes MySQL enterprise database software, monitoring and consulting services, and technical support to ensure your business achieves the highest level of reliability, security, and real-time performance.

General download Redhat, Linux generic, source code platform framework, I use the most CentOS, this time is the Source code mysql-5.6.26.tar.gz size 32M

Second, view the MySQL version number method

1. use command line mode to enter MySQL to see the first prompt

Mysql

Welcome to the MySQL Monitor. Commands End With; or \g.

Your MySQL Connection ID is 1

Server version:5.6.22 Source Distribution

2, the command line with status View

mysql> status;

--------------

MySQL Ver 14.14 distrib 5.6.22, for Linux (x86_64) using Editline Wrapper


Connection ID: 1

Current database:

Current User: [email protected]

SSL: not on use

Current Pager: stdout

Using outfile: '

Using delimiter: ;

Server version: 5.6.22 Source Distribution

Protocol version: 10

Connection: Localhost via UNIX socket

Server characterset: UTF8

Db characterset: UTF8

Client characterset: UTF8

Conn. CharacterSet: UTF8

UNIX sockets: /tmp/mysqld.sock

Uptime: 1 hour min sec


Threads:1 questions:11 Slow queries:0 opens:58 Flush tables:1 Open tables:53 queries per second avg:0.002

3. Version () function

Mysql> select version ();

+-----------+

| Version () |

+-----------+

| 5.6.22 |

+-----------+

4.

MySQL--help|grep distrib

MySQL Ver 14.14 distrib 5.6.22, for Linux (x86_64) using Editline Wrapper

5. Package management tools (if installed with package management tools)

Rpm-qa|grep MySQL

Third, how to view MySQL 64-bit or 32-bit

1.

Mysql> Show variables like '%version_% ';

+-------------------------+---------------------+

| variable_name | Value |

+-------------------------+---------------------+

|                     slave_type_conversions | |

| version_comment | Source Distribution |

| Version_compile_machine | x86_64 |

| Version_compile_os | Linux |

+-------------------------+---------------------+

2, Mysql-v

Mysql-v

MySQL Ver 14.14 distrib 5.6.22, for Linux (x86_64) using Editline Wrapper

3.

which Mysql|xargs file

/usr/local/www/mysql/bin/mysql:elf 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs) , for Gnu/linux 2.6.18, not stripped

4. >status;

-------------

MySQL Ver 14.14 distrib 5.6.22, for Linux (x86_64) using Editline Wrapper

SOURCE package Ah, you in what number on the compilation, is what bit number of installation package, source package does not distinguish between the number of bits

Iv. Forget password, use mysqld_safe--skip-grant-tables

Stop the MySQL service and execute mysqld_safe--skip-grant-tables

MySQL Change password after direct login

use MySQL;update user set Password=password ("12345") where user= "root"; flush privileges;

Restart MySQL


MySQL official version number name and post-installation view information, number of digits

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.