![]() In part, this comes from a good database architecture, but also from making use of JSON fields to store additional data, which would otherwise need many additional fields in the tables. Understanding the structure #Ĭompared to many other systems, Home Assistant doesn't have that many tables to provide all the features it does. home/pi/path-to-configuration-folder-of-home-assistant/home-assistant_v2.dbĬlick on "Test" to make sure you've filled out everything correctly and click "Connect" to drop into the database. Most likely this will be a path like this: This means that TablePlus will first connect to the machine with SSH before connecting to the database itself.ĭatabase path: Enter the absolute path to the database file which is used by Home Assistant. Over SSH: you will connect the database using an SSH tunnel. To connect to the database, create a connection that looks like the following: If you are on Windows a popular alternativ is HeidiSQL, which also supports SQLite. I'm using TablePlus for Mac to connect to the database. ![]() You can switch to the correct database and/or table using Cmd + P.To follow the next steps you need to have SSH access to the machine running Home Assistant. Pro: Command + P to open any database and/or table That said: TablePlus updates pretty quick, which i think is awesome. If the program is good it doesn't need much updates, but the last release of Sequel Pro contains a nasty bug which an update can easily fix. The same goes for running a long query: It feels like when you cancel a running query it only actually stops the query when it's finished. Con: You can't stop imports or queries.Īctually you can, but when running a big import it takes some time before it actually finishes. Also in Sequel Pro the export is more grannular, you can choose per table if you want the structure, data or both. Also: it was not possible to change the exported file name, but now is.īut it still can be way better. Here is a lot of room for improvements, but with every update it feels like this part is improved. Just Cmd + Enter when i need to update the result. I still can view them by running show full processlist in an sql window, but it doesn't auto refresh. ![]() The only thing i'm missing from Sequel Pro is the processlist which automatically updates. ![]() Plus for well over a month now, and i'm liking it more and more. So i've been using TablePlus for well over a month now, and i'm liking it more and more. Great to view what's going on on your server. I can't import gz files, you have to unpack them first. With Sequel Pro you see a constant progress. For example: When importing a file of 100mb, it only updates the process every table i think. actually works!Įxporting and importing is meh. Support multiple database types (Mysql 5 and 8, Redis, SQLite, PostreSQL and more).Ĭhanging table structure. You get to stage changes: Delete rows for deletion, but only commit this after entering a Cmd + S. Lock connections: Get a warning when you change something of force yourself to enter your password before continuing. Shortcuts: Command + P to open any database and/or table. Regular updates (The last release of Sequel Pro is from 2016 □). I finally settled on TablePlus as i liked i during the trial. So i decided to look for another program. switching monitors messes everything up, the menu becomes huge. You can download a nightly build, but i still had weird problems. This is due to a nasty bug in the latest version: If you close a tab, the program crashes. But lately my relation with Sequel Pro got troubled. I've been using Sequel Pro for a few years for all my database needs.
0 Comments
Leave a Reply. |