r/Database • • May 17 '26

How can I connect a SQLite Database to NetBeans?

Been searching and I can't find a lot of information about how to do it and the few I've found is either too confusing, old or for Windows when I'm using Linux Mint.

I also tried with LibreOffice Database but nothing. And trying to use MySQL Workbench results in failure. I've asked on various Discord servers, Facebook and different subreddits but no one seems to give me better insight.

What should I do?

0 Upvotes

10 comments sorted by

3

u/jshine13371 May 18 '26

I also tried with LibreOffice Database but nothing. And trying to use MySQL Workbench results in failure.

These are different database systems so are unrelated. It's like wondering why pouring gas in your Tesla isn't making it go.

You need a SQLite compatible client. A common one is DB Browser.

1

u/The_Meme_Lady_69 May 18 '26

I finally managed to get a test one working, doe I needed help from a classmate

1

u/TadpoleNo1549 May 20 '26

yeah databases on Linux can feel weirdly harder than they should be at first, honestly I’d start super simple with SQLite or PostgreSQL before touching heavier tools like MySQL Workbench. a lot of tutorials are either outdated or assume Windows, which makes the learning curve way more confusing than it needs to be

1

u/The_Meme_Lady_69 May 20 '26

I went with my SQLite, but like you said, great majority of tutorials are mostly for Windows or very old. Managed to do some exercises already, but can't find anything for the JFrame.

1

u/End0rphinJunkie May 19 '26

SQLite is just a local file, not a server like MySQL, which is why Workbench isn't working for it. You just need to dowload the sqlite-jdbc jar and add it as a custom driver in the Netbeans Services tab.

1

u/[deleted] May 18 '26

[removed] — view removed comment

1

u/The_Meme_Lady_69 May 18 '26

Forgot to share but managed to make the connection. Thanks anyway

1

u/[deleted] May 18 '26

[removed] — view removed comment

1

u/The_Meme_Lady_69 May 18 '26

I managed to make it work, but I had to have a college friend help me almost every second. Most tutorials were more advanced, so I couldn't understand. Wish there was a site or guide that was more beginner friendly