mysql.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Fri, 11 Dec 2015 18:10:06 +0200
changeset 1809 4e78b58a2935
child 1810 752c192306ff
permissions -rw-r--r--
MySQL/MariaBD.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1809
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
.. -*- coding: utf-8; -*-
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
.. include:: HEADER.rst
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
================
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
 MySQL/MariaBD.
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
================
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
.. contents::
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
SQL clients.
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
============
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
mysql.
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
------
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
Official client. Install ``mariadb-client`` package - ``mysql`` utility
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
will be installed with dependent package.
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
Usage::
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    19
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
  $ mysql -u $USER -p
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    21
  Enter password:   <== Type password.
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    23
mycli.
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    24
------
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    25
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    26
Python command line client with completion. Usage::
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    27
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    28
  $ mycli -u $USER
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    29
  Password:         <== Type password.
4e78b58a2935 MySQL/MariaBD.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    30