Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL db #1

Open
mtron opened this issue Aug 25, 2020 · 1 comment
Open

MySQL db #1

mtron opened this issue Aug 25, 2020 · 1 comment

Comments

@mtron
Copy link

mtron commented Aug 25, 2020

Please consider adding MySQL / mariadb Support.

@robdelacruz
Copy link
Owner

Thanks for the comment. I'll look into other databases when I have time. Right now, to keep things small and simple and easy to install, newsboard is hardcoded to use sqlite3 in the meantime.

The functions that need changing in order to support other databases are:

  • registerSqliteFuncs()
  • functions using "INSERT OR REPLACE..." sql code
  • functions using "result.LastInsertId()"
  • main() needs a way to handle both connection strings and db file depending on database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants