mallt/mysql-to-org-mode

Created Feb 19, 2021 · View the mallt/mysql-to-org-mode repository page

Minor mode for emacs to output the results of mysql queries to org tables

Want this for your repo?

Render a free sample of any GitHub repo in seconds.

Visualize your own →

Contributors

2

Lines of Code

35

From

Aug 3, 2016

To

Jun 2, 2020

About mallt/mysql-to-org-mode

mysql-to-org-mode is an Emacs minor mode that enables users to execute MySQL queries directly within their editor and view the results formatted as org-mode tables. The extension integrates seamlessly with Emacs by providing convenient keybindings for evaluating queries from the current line, selected region, or a dedicated scratch buffer.

The mode includes practical features for database work, such as autocomplete for table and column names, parameter replacement for dynamic queries, and customizable MySQL connection settings. Users can specify their MySQL command and username through configuration variables, and the mode securely prompts for a password on first activation. Query results are automatically formatted as org tables, making them easy to read and manipulate within Emacs documents.

The extension is available through MELPA, making installation straightforward for Emacs users. It's particularly useful for developers who want to stay within their editor workflow while exploring or testing database queries without switching to separate database clients.

Share this video