# HG changeset patch # User Oleksandr Gavenko # Date 1534335407 -10800 # Node ID 373af6f0e7f89147c76bb75aee0e241cbb38ec39 # Parent 31e11d79a712999a846892c6d4e66287a989108a Connecting with mysql. diff -r 31e11d79a712 -r 373af6f0e7f8 mysql.rst --- a/mysql.rst Mon Aug 13 13:52:49 2018 +0300 +++ b/mysql.rst Wed Aug 15 15:16:47 2018 +0300 @@ -6,31 +6,33 @@ .. contents:: :local: -SQL clients. -============ +SQL clients +=========== https://mariadb.com/kb/en/mariadb/clients-and-utilities/ Clients and Utilities. https://mariadb.com/kb/en/mariadb/graphical-and-enhanced-clients/ Graphical and Enhanced Clients. -mysql. ------- +mysql +----- -Official client. Install ``mariadb-client`` package - ``mysql`` utility -will be installed with dependent package. +Official client. Install ``mariadb-client`` package. Usage:: $ mysql -u $USER -p Enter password: <== Type password. + $ mysql --host=$HOST --user=$USER --password=$PASS + $ mysql --host=$HOST --user=$USER --password=$PASS $DATABASE + To save content of session interaction in ``mysql`` use:: mysql> tee out.txt -mycli. ------- +mycli +----- Python command line client with completion. Usage::