abrookewood
The Database Connection Smart cell isn't working on Windows 10
Running on Windows 10, Livebook v0.12.1, Elixir v1.15.7 and the latest Firefox or Chrome.
Hi,
I’m running into an issue when trying to set up a database connection using a Smart cell in Livebook.
- Start with a blank Notebook.
- Click on the +Smart cell and note the sub-menu showing MySQL, SQLite, SQLServer etc appears.
- Click on any of the sub-menu items (e.g. SQLIte or MySQL) and you will be informed that the “Database connection“ smart cell requires certain packages and asked whether you would like to add them as dependencies and restart.
- Click “Add and restart” and wait for the Dependencies and Setup cell to re-evaluate.
- Click on the +Smart cell and note the sub-menu showing is no longer visible.
- Edit the Dependencies and Setup cell, remove {:kino_db, “~> 0.2.3”} and re-evaluate.
- Click on the +Smart cell and note the sub-menu showing is now visible again.
I’ve checked the logs and nothing is reported there other than the starting of the Livebook Application. Viewing Chrome/Firefox DevTools doesn’t show any errors when the Smart cell is clicked. I’ve tried in multiple browsers, disabled anti-virus, disabled extensions etc and nothing changes the behaviour.
Any help appreciated.
Marked As Solved
abrookewood
Just adding that installing Livebook from source had exactly the same behaviour as running via the integrated Windows download.
The workaround I am using is to run it in a VM which works without issue - so it’s definitely something wrong with my machine (probably security software).
Also Liked
cmo
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex













