From: Andreas Gerler Date: Thu, 14 Jan 2016 16:58:09 +0000 (+0100) Subject: snippets/org-mode/sqlmysql X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=71f9abe21ba8e59064e181dbaddfb6c4557f7270;p=emacsconfig.git snippets/org-mode/sqlmysql - hiding passwords from PROPERTIES. - adding first SQL SRC block. --- diff --git a/snippets/org-mode/sqlmysql b/snippets/org-mode/sqlmysql index ec2c493f..816873c5 100644 --- a/snippets/org-mode/sqlmysql +++ b/snippets/org-mode/sqlmysql @@ -7,8 +7,12 @@ :engine: mysql :dbhost: ${1:localhost} :dbuser: ${2:user} -:dbpassword: ${3:password} +:dbpassword: ${3:(print bba-db)} +:database: ${4:mysql} :cmdline: --protocol=tcp :exports: both :END: -$0 \ No newline at end of file + +#+BEGIN_SRC sql +$0 +#+END_SRC \ No newline at end of file