1. How to query the MySQL version of a subset under Ubuntu:
Method One:
MySQL version is displayed after the login subset of MySQL;
***:~$ mysql-U root-P Enter password:welcome toThe MySQL Monitor. CommandsEnd with;or\g.your MySQL Connection ID is +Server Version:5.5. A-0ubuntu0.14.10.1(Ubuntu) #这就是版本号Copyright (c) -, the, Oracleand/orits affiliates. Allrights reserved. Oracle isA registered trademark ofOracle Corporationand/oritsaffiliates. Names may trademarks oftheir respectiveowners. Type'Help ;' or '\h' forHelp. Type'\c' toClear the CurrentInput statement
Method Two:
Enter the query statement after you log in:select version ();
Mysql> Selectversion ();+-------------------------+|Version ()|+-------------------------+| 5.5. A-0ubuntu0.14.10.1 |+-------------------------+1Rowinch Set(0.00sec) MySQL>
It is so simple;
How to know your Python version number under 2.ubuntu:
Run ' python ' directly to see the Python version number of the subset;
: ~2.7.8 (default, OCT, 15:05:194.9.1"Help" Copyright""credits"or"license " for more information. "
How to query your own Django version number under 3.ubuntu:
First, the Django package is imported under Python;
Import Django
Then, run Django. VERSION
Import Django>>> Django. VERSION ('final', 0)
Python,django,mysql Version number query