When installing Linsei a moment comes, the database step, where you have to decide: MySQL or SQLite? If that question made you hesitate, relax, it is one of the most normal in the world, and the answer is simpler than it looks. Both work wonderfully; they just fit better in different situations.
I will tell you what each one is, how they differ and which suits your case, without needing a degree in computer science.
What SQLite is
SQLite is a database that lives in a single file. There is nothing to install or configure: Linsei creates that file on your hosting and starts saving your links and stats there. It is like having your whole database in a notebook you can take anywhere. You can read the detail in the SQLite article.
What MySQL is
MySQL (or its cousin MariaDB) is a database server: a separate program, which almost all hosting already includes, that Linsei connects to with a username and password. It is designed to handle lots of data and many queries at once without breaking a sweat. Here is its Wikipedia entry if you want the detail.
The differences that really matter
On paper there are many, but for you, who just wants Linsei to run well, these are the ones that count:
- Setup: SQLite is zero configuration; MySQL asks for some connection details, which your hosting gives you ready-made.
- Performance with high volume: with thousands of links and many visits at once, MySQL holds up better.
- Several people at once: if you are going to create and measure links as a team, MySQL handles concurrency with more room.
- Backups: with SQLite, copying a file is enough; with MySQL you use your hosting's tools.
So which do I pick for Linsei?
The quick rule is this. If you want to start in two minutes, your hosting has no database at hand or your project is personal or small, go for SQLite and forget about it. If you expect a lot of traffic, will handle thousands of links or are going to be several people managing, better MySQL.
For most people starting out, SQLite is the most comfortable option: it works without configuring anything and performs more than well enough. You can always move to MySQL when the project grows.
And what if I choose wrong?
It is not a decision for life. If you start with SQLite and one day it falls short, you can migrate your data to MySQL without losing anything. That is why it is not worth stressing: choose what fits today and change tomorrow if needed. You have the steps for each option in the documentation.
In short: SQLite to travel light and hassle-free, MySQL to grow with room to spare. And the nice thing is that, whichever you choose, Linsei works just as well with both.
Start with Linsei for free
Download it, upload it to your hosting and create your first short link in a minute. No fees, no sign-ups.
Download Linsei