]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
snippets/org-mode/sqlmysql
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 14 Jan 2016 16:58:09 +0000 (17:58 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Thu, 14 Jan 2016 16:58:09 +0000 (17:58 +0100)
- hiding passwords from PROPERTIES.
- adding first SQL SRC block.

snippets/org-mode/sqlmysql

index ec2c493f6794f6f7fa0d74f799a890678acd006a..816873c5cde13de8ee7efff0f99d36ab14ee927c 100644 (file)
@@ -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