* To support the ":dbport" value
@ 2015-03-18 15:12 Денис Мекшун
0 siblings, 0 replies; only message in thread
From: Денис Мекшун @ 2015-03-18 15:12 UTC (permalink / raw)
To: emacs-orgmode
Good day,
I use the org-mode to take statistical data from remote servers. And founf out that current scheme such this doesn't support a port value:
#+name: ALLODS-248601-database
#+header: :engine mysql
#+header: :dbhost 127.0.0.1
#+header: :dbuser test
#+header: :dbpassword test
#+header: :database test
#+begin_src sql :file /tmp/test.csv
SELECT * FROM test;
#+end_src
I made some changes to the ob-sql.el file and now it supports the ":dbport" value. I attached the file which include changes, and would like to suggest apply the settings to the future versions.
Now it works like this:
#+name: ALLODS-248601-database
#+header: :engine mysql
#+header: :dbhost 127.0.0.1
#+header: :dbport "13306"
#+header: :dbuser test
#+header: :dbpassword test
#+header: :database test
#+begin_src sql :file /tmp/test.csv
SELECT * FROM test;
#+end_src
I am a beginner lisp developer and I am not sure that I made correct fix, and would like to ask you to improve this file.
--
Denis Mekshun
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-03-18 15:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-18 15:12 To support the ":dbport" value Денис Мекшун
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.