java/sql-dk/version-info.sh
author František Kučera <franta-hg@frantovo.cz>
Tue, 26 Feb 2019 18:19:49 +0100
branchv_0
changeset 236 a3ec71fa8e17
parent 109 aef98fd7c7c9
permissions -rwxr-xr-x
Avoid reusing/rewriting the DB connection properties.
There was weird random errors while testing connection to multiple DB in parallel when one of them was meta connection to same DB connection.
Two kinds of exception: 1) missing password 2) „Passing DB password as CLI parameter is insecure!“
     1 #!/bin/bash
     2 
     3 echo "SQL-DK";
     4 echo -n "Mercurial: "; hg identify || echo "n/a";
     5 echo -n "Compiled:  "; date --rfc-3339=seconds;
     6 echo "
     7 Copyright © 2013 Ing. František Kučera a.k.a. <xkucf03/> 
     8 https://sql-dk.globalcode.info/ https://frantovo.cz/
     9 SQL-DK is free softare. You may redistribute copies of SQL-DK
    10 under the terms of the GNU General Public License v3+.
    11 For more information about these matters, run with option: --license";