AI tools for everyday work

Navicat 18 tested with a local AI model: one query perfect, the next convincingly wrong

I tested Navicat Premium 18 with Ollama on a fictional fan shop database. Ask AI, Fill with AI, error detection and the table designer: what worked, what went wrong and who it is worth the price for.

Erik van de Blaak
Erik van de Blaak
22 min read • 68 views
Navicat 18 tested with a local AI model: one query perfect, the next convincingly wrong

I asked Navicat 18 for two queries on the same database. The first was right the first time, down to the cent. The second produced a table in which 100 percent of the training wear was returned. The real figure is 7.8 percent. The query ran without an error, the numbers looked tidy and nothing on screen gave a warning. The difference between those two answers is really the whole review.

Navicat Premium 18 has AI in the query editor, the data editor and the table designer, and that AI can run on a model on your own computer. I tested this with Ollama, two local models and a small fan shop database that you can download yourself. Navicat is not new to me: at CareerValue, where I work, we use it too. Below is what worked, what went wrong and who it is worth the price for.

Disclosure. Navicat approached me for this review, following my article on AI and databases for web applications. I received a free Navicat Premium Enterprise license for testing. If this review is published, Navicat offers a free one-year subscription, worth up to US$1,000 according to their email. Navicat itself wrote that the review does not need to be positive. They did not see the text in advance and had no influence on the content. Tested on 4 December 2026 with Navicat Premium 18.0.8 (64-bit) on Windows 11, Ollama with the models ministral-3:8b and glm4:latest. This article was written with the help of Claude, which also ran the tests in Navicat on my computer.

Short answer. Navicat 18 with a local model is usable as an assistant you check, not as a colleague you trust. Connecting Ollama takes five minutes. A simple question became flawless SQL, a slightly harder one gave a convincingly wrong answer. With one model, Fill with AI translated 34 product texts, ten of which were usable without correction. With the other model it did nothing at all, without a message. The strongest point is that you see every AI change first and tick it per row, before anything is saved. The free version, Navicat Premium Lite, does have the error checking while you type, but not the AI features.

What is Navicat 18?

Navicat Premium is a desktop program for working with many kinds of databases from one window: MySQL, MariaDB, PostgreSQL, SQL Server, Oracle, SQLite, MongoDB, Redis, Snowflake and a range of cloud databases (Navicat's feature matrix). It runs on Windows, macOS and Linux. According to the release notes, the first versions of Navicat Premium 18 appeared on 16 September 2026: 18.0.2 for Windows, 18.0.1 for macOS and Linux. I tested 18.0.8 of 18 November, the latest Windows version at the time of testing.

The new AI features are in three places:

  • Query editor: Ask AI turns a question in plain language into SQL, and explains existing queries, optimizes them or converts them to another database type. Real-Time Error Detection checks for syntax errors, unknown tables and columns and ambiguous column names while you type. You can have a detected error repaired with Fix with AI.
  • Data editor: Fill with AI fills, translates or summarizes values in a column, based on other columns.
  • Table designer: Ask AI designs a table from a description in plain language.

You choose which AI does the work. In my version the list contained OpenAI, Gemini, Claude, Grok, DeepSeek, Qwen, Doubao and Kimi, plus three options for your own servers: OpenAI Compatible, Ollama and LM Studio. With the last two, the model runs on your own computer.

The test lab: a fictional Arsenal fan shop

I did not want to test on a database that only I have. So this article comes with a small sample database: gunners_shop, a made-up webshop with Arsenal merchandise. I'm an Arsenal fan, hence the choice. It contains 34 products, 60 customers, 320 orders with 819 order lines and 80 reviews, between June 2025 and November 2026. There is no relationship with Arsenal FC and all customer data is fake (@example.com). The test data and the screenshots are in Dutch: the database has Dutch category and product names, and I typed my prompts to the AI in Dutch.

The data deliberately contains a few messy spots, because real data looks like that too:

MessWhy it is in there
products.description_nl is empty everywhereTest for translating with Fill with AI
8 customers without an email addressWill the AI just make up an address?
4 products without a categoryJoin pitfall: a plain JOIN silently drops them
order_items.size contains a mix of XL, x-large, Extra Large and xl Test for cleaning up
order_items has no id of its ownDoes the AI see that, or does it assume one?

For every question I put to the AI, I worked out the right answer myself beforehand with a handwritten query. That way I could put each AI answer next to an answer that can be verified. I tested on the SQLite version. The download also contains scripts for MySQL and PostgreSQL with the same data.

Navicat Premium 18 with the SQLite connection gunners_shop open. On the left the navigation pane with the six tables categories, customers, order_items, orders, products and reviews, in the middle the same six tables in the object list.
The test database in Navicat 18. My other connections have been blurred.

Connecting Ollama: five minutes, with one mandatory step

The setting is under Tools → Options → AI, as Navicat's guide also says. Turn on Enable AI Assistant, click + and choose Ollama. The address is already filled in (localhost:11434, endpoint /api/chat), and with the button next to Model Navicat fetches the list of installed models itself. For me those were ministral-3:8b and glm4:latest.

Before you can add the first assistant, a disclaimer appears that you have to accept. It says that Navicat sends your questions to the AI provider, that the answers only come back to the program on your own computer and that Navicat itself stores nothing. With a local model, that provider is Ollama on your own computer.

The first Test Connection took about half a minute, because Ollama still had to load the model. After that the connection was fine.

The Options window of Navicat 18 on the AI section. One assistant: Ollama lokaal (ministral-3:8b). AI Provider Ollama, API Host localhost:11434, API Endpoint http://localhost:11434/api/chat, model ministral-3:8b. At the bottom the message Connection Successful.
A local model via Ollama. The address is already filled in and the connection works.

You can set up several assistants side by side and choose per question which one you use. I later added a second one for glm4, and that turned out to be useful.

Ask AI: flawless at first

The first question, with the model ministral-3:8b: "Geef de top 5 producten op omzet in 2026, zonder geannuleerde en geretourneerde bestellingen." ("Give the top 5 products by revenue in 2026, excluding cancelled and returned orders.")

In the Ask AI window you choose what goes to the model along with your question: the selected text, all text in the editor, the current schema and the server version. For my first question, Current Schema was not switched on. Without that option the model does not know which tables exist. I switched it on.

Ask AI in Navicat 18 with the question in Dutch at the top. On the right the proposed SQL: SELECT p.id, p.name and SUM(oi.quantity * oi.unit_price) AS total_revenue FROM order_items oi, JOIN orders o ON oi.order_id = o.id, JOIN products p ON oi.product_id = p.id, WHERE o.order_date LIKE '2026-%' AND o.status NOT IN ('cancelled', 'returned'), GROUP BY p.id, p.name, ORDER BY total_revenue DESC LIMIT 5.
Ask AI turns a Dutch question into SQL. On the left the text that was there (nothing in this case), on the right the proposal.

The query was correct. There are three pitfalls in this question, and the model avoided all three:

  • It calculated with order_items.unit_price, the price at the time of ordering, and not with the current price in products.
  • It excluded both cancelled and returned.
  • It used LIKE '2026-%' on a date that is stored as text in SQLite. It did not use a function like YEAR(), which does not exist in SQLite.
Result of the AI query: 1 Home shirt 2025/26 heren 2278,8; 5 Home shirt 2024/25 heren 1978,35; 7 Training top quarter zip 1468,95; 2 Home shirt 2025/26 dames 1424,25; 3 Away shirt 2025/26 heren 1329,3.
The same five amounts as my handwritten control query.

In second place is last season's discounted shirt. That is correct: it sold often enough to pass the new shirts. The answer took less than a minute.

One thing I only saw when going through it afterwards, and the model did not see it either. Fifth place is shared: the away shirt and the third shirt both brought in exactly € 1,329.30. Which of the two ends up in your list with LIMIT 5 depends on how the database happens to sort. The AI query picked the away shirt, my own query in a later check picked the third shirt. Neither reports that there is a tie. If you want to see that, fetch the top six or add a sort on name.

Ask AI: then convincingly wrong

The second question was slightly harder: "Bereken per productcategorie het percentage orderregels dat bij een geretourneerde bestelling hoort. Sorteer van hoog naar laag." ("For each product category, calculate the percentage of order lines that belong to a returned order. Sort from high to low.")

The right answer:

CategoryReturned
Sjaals & mutsen (scarves & hats)8.5%
Trainingskleding (training wear)7.8%
Kinderen (kids)7.4%
(geen categorie) (no category)6.6%
Accessoires (accessories)6.3%
Wedstrijdshirts (match shirts)4.3%
Thuis & kantoor (home & office)3.6%

The model wrote a query of 37 lines with four CTEs. It looked well thought out.

An SQL query of 37 lines written by Ask AI with the CTEs returned_orders, returned_order_items, total_order_items_per_category and returned_order_items_per_category. The CTEs contain COUNT(DISTINCT oi.product_id) and a plain JOIN between categories and products.
Neatly structured, but with two errors: lines 15 and 25 count products instead of order lines, and the JOINs drop products without a category.
Result of the wrong query: Trainingskleding 100, Accessoires 80, Sjaals en mutsen 75, Kinderen 75, Thuis en kantoor 71,43, Wedstrijdshirts 66,67.
According to this query, all training wear is returned. The real figure is 7.8 percent.

There are two errors, and neither produces an error message:

  1. It counts the wrong thing. COUNT(DISTINCT oi.product_id) counts how many different products have ever been returned, not how many order lines. All four training products have been sent back at least once, so the query arrives at 100 percent.
  2. It misses a group. A plain JOIN between categories and products drops the four products without a category. That is 106 order lines that appear nowhere in the result.

The correct version is shorter than the model's: one row per order line, and a LEFT JOIN so that the products without a category stay in.

SELECT COALESCE(c.name, '(geen categorie)') AS categorie,
       ROUND(100.0 * SUM(o.status = 'returned') / COUNT(*), 1) AS pct_geretourneerd
FROM order_items oi
JOIN orders o          ON o.id = oi.order_id
JOIN products p        ON p.id = oi.product_id
LEFT JOIN categories c ON c.id = p.category_id
GROUP BY 1
ORDER BY 2 DESC;

In SQLite and MySQL, o.status = 'returned' is 1 or 0, so SUM counts the returns. In PostgreSQL you write COUNT(*) FILTER (WHERE o.status = 'returned').

The wrong query is the dangerous kind of error. The first question showed that the model can write good SQL, and because of that you trust the second one too. Someone who cannot verify the answer takes it to a meeting.

Real-Time Error Detection: good at typos, a lot of false alarms

I typed three queries with mistakes that everyone makes now and then:

-- 1. typfout in kolomnaam
SELECT prodcut_id, SUM(quantity) FROM order_items GROUP BY prodcut_id;

-- 2. dubbelzinnige kolom
SELECT id, name, rating FROM products JOIN reviews ON products.id = reviews.product_id;

-- 3. stille fout: INNER JOIN laat producten zonder categorie weg
SELECT c.name, COUNT(*) FROM products p JOIN categories c ON c.id = p.category_id GROUP BY c.name;

The typo was found immediately, with a clear explanation:

SQL editor with a yellow message at line 2: Identifier reference prodcut_id unfound in database, with the buttons Copy and Fix with AI.
The typo is spotted while you type, with the line and column position included.

Fix with AI repaired it correctly, and the difference is highlighted per letter. Here too the schema is not switched on by default (Attach Schema). I ticked it.

Fix with AI with the original query with prodcut_id on the left and the proposal with product_id on the right, with the swapped letters highlighted.
Fix with AI replaces prodcut_id with product_id.

The less good part: Error Detection also puts squiggles under columns that are simply correct. At c.name in query 3 it says "Possibly ambiguous identifier reference `name`", while there is a table alias in front of it and the column is therefore not ambiguous. c.id also got a squiggle, and the same happened with o.id and p.id in the correct query from Ask AI. A warning that is often unjustified is one you start ignoring after a while, and then you miss the justified ones too.

The same editor with the three test queries. At c.name in line 8 the warning Possibly ambiguous identifier reference name appears, although the column is qualified with the alias c.
False alarm: c.name has an alias and is therefore not ambiguous.

Query 2, with the truly ambiguous id, was marked. The real error in query 3, a count of 30 products instead of 34, was not seen. I had not expected it to be: the query is valid. This is the limit of any check while you type. It knows what you write, not what you mean.

Fill with AI: the same job, two very different models

Fill with AI is in the toolbar of the data editor. You choose which columns the model may read, which rows it works on, what it has to do and which column the result goes into.

The Fill with AI window with reference fields name and description_en, the option Update records on all records of the current page, the Dutch instruction to translate description_en into natural Dutch and to leave product names, sizes and numbers unchanged, and target field description_nl.
The translation job: read name and description_en, write to description_nl.

With ministral-3:8b nothing happened. After about a minute and a half the window moved on to the comparison, and all 34 rows showed (NULL) with 0/0 selected records. There was no error message and no explanation. The same model had just written correct SQL.

The result screen of Fill with AI with the model ministral-3:8b: the column description_nl contains NULL in all visible rows, at the top right it says 0/0 selected records.
With ministral-3:8b the result stayed empty, without a message.

I do not know whether this is down to the model or to how Navicat processes the answer. I only see that the user is not told that something went wrong.

With glm4 34 translations came back within two minutes, all 34 already ticked to be saved. Here are a few, copied literally:

Proposed Dutch translations by glm4, including: Rood lichaam met witte mouwen, kruisvormige ader in de borst, ademend gerecycleerd polyester; Vrouwenshare thuisshirt in rood en wit met ingeweven kruis; Derde kledingstuk shirt in lichtblauw met donkere details; Trainingshose quarter zip; Voorbeschouw T-shirt; Knitted bobble muts, met geweven embleem. At the top right 34/34 selected records.
Fill with AI with glm4: the English text with the proposal next to it, all 34 rows already ticked. Nothing is saved until you click Fill.
The second part of the proposed Dutch translations, including: Ceramic mug met embleem, vaatwasmachinebestendig; Stainless steel fles; Metal keyring in de vorm van het kanon; Backpack met laptop compartiment en schoenvak; Thuis sokken, rode sokken met witte ombre; Thuis trainingsbroek, witte home shorts; Digitale cadeaubon van 25 euro.
Some are good, some stay half English, and a few translations change the product.

I put all 34 next to the full English text. Ten I could use as they were, for example "Digitale cadeaubon van 25 euro" ("Digital gift card of 25 euros") and "Zachte fleece deken, 150x200 cm" ("Soft fleece blanket, 150x200 cm"). Six were usable after a small correction. For instance, water-repellent became waterdicht (waterproof), which promises more than the product does, and "dezelfde ontwerp" should be "hetzelfde ontwerp" ("the same design": the model picked the wrong grammatical article). The other eighteen had to be redone:

  • Mistranslated: the cannon crest became "kruisvormige ader in de borst" ("cross-shaped vein in the chest"), women's fit became "Vrouwenshare" (not a word), third kit became "Derde kledingstuk" ("third garment"), pre-match became "Voorbeschouw" ("preview", as in a match preview article) and last season's became "Laatste seizoens" ("last-seasons", ungrammatical, and it means final, not previous).
  • Half English: "Ceramic mug met embleem", "Stainless steel fles", "Metal keyring", "Backpack met laptop compartiment", "Knitted bobble muts", "Two-piece pyjama". My instruction said that product names had to stay unchanged, and the model seems to interpret that too broadly.
  • A different product: the training top became a "Trainingshose" (German, and a pair of trousers), "White home shorts" became a trainingsbroek (training trousers), and the white turnover of the socks became "witte ombre" ("white ombré").

A larger model or a cloud service will almost certainly translate this better. But then you also send your product data outside, and that was exactly the reason to work locally.

The strongest point of Fill with AI is not the AI itself, but the screen in front of it. You see all proposals in one overview next to the source text, you tick per row what you want to accept, and only when you click Fill does anything change in the table. I did not click Fill. Do note that everything is already ticked by default: if you click through quickly, you write all 34, including the eighteen wrong ones.

Missing email addresses. Eight customers have no email address. I asked glm4 to fill them in and to leave the existing addresses alone. The only right answer is "I don't know". That is what happened: the eight empty fields stayed empty and nothing was proposed. A model that had made up pieter.peters@example.com here would have made your data worse, even though the table looks fuller afterwards.

Fill with AI result for the table customers: the customers Pieter Peters and Noor Hendriks still have NULL as their email address, at the top right 0/0 selected records.
No made-up email addresses: what was empty stayed empty.

Ask AI in the table designer: a column that does not exist

The last test: "Ontwerp een tabel returns voor retouren van de webshop: welke orderregel, reden, status (aangevraagd, ontvangen, terugbetaald, afgewezen), terug te betalen bedrag en datums. Gebruik de bestaande tabellen orders, order_items en products." ("Design a table returns for returns to the webshop: which order line, reason, status (requested, received, refunded, rejected), amount to refund and dates. Use the existing tables orders, order_items and products.") The schema was sent along.

Proposed DDL from Ask AI: CREATE TABLE main.returns with order_item_id INTEGER NOT NULL, reason, status with a CHECK on the four statuses, amount_to_refund NUMERIC(10,2), four date fields, PRIMARY KEY(order_item_id, reason) and FOREIGN KEY(order_item_id) REFERENCES main.order_items(id).
A good CHECK on the status, but a reference to order_items.id, a column that does not exist.

Part of it is good: a CHECK with exactly the four statuses I named, and a separate date field per step. But the foreign key refers to order_items(id), and that column does not exist. My table order_items has no id of its own, and the schema that was sent along shows that too. The primary key (order_item_id, reason) is also odd: it means the same order line can be returned twice, as long as you enter a different reason.

I did not have the DDL applied in Navicat. I did run it on a copy of the database, in SQLite 3.53.4 and 3.49.1. As written, it gives near ".": syntax error, because SQLite does not allow a schema name ("main".) after REFERENCES. Without that schema name the table is created, but then every INSERT fails with foreign key mismatch - "returns" referencing "order_items" as soon as foreign keys are enabled.

To be fair: an order line table without its own key is a design flaw in my test data, and it is in there on purpose. But a good assistant would have reported that instead of making up a column.

Does your data really stay on your computer?

With Ollama the address of the AI is localhost, so questions and schema go to your own computer. That follows from the setting and from Navicat's disclaimer. According to the Navicat 18 manual, Ask AI sends your query text, the server version and the structure of the selected schema to the AI provider. I did not verify that nothing else leaves the computer, by turning off the internet or looking at Navicat's network traffic. If you want certainty, do exactly that test: turn off your Wi-Fi and put a question to Ask AI.

A few things do go over the internet in any case, and they have nothing to do with the AI. With a subscription you log in with your Navicat ID, and according to the manual Navicat contacts the license server every hour by default. A perpetual license can also be activated without internet. Personal Profile Sync synchronizes your connection profiles via Navicat Cloud or your own Navicat On-Prem Server, if you turn it on. If you work in a closed environment, that makes a difference.

What Navicat 18 does not do well

  • Silent failures. Fill with AI with ministral-3:8b produced nothing 34 times, without a message. You only see that nothing happened.
  • The schema is not always sent along. For Ask AI in the query editor and for Fix with AI, sending the schema was off by default for me. Without the schema the model guesses at your table names.
  • False alarms in the error detection. Columns with an alias were marked as "possibly ambiguous".
  • A recurring error message. Twice, when opening a table in the SQLite connection, I got a Crash Report: Unknown Internal Error (A70529215255). invalid vector subscript. Each time the tour "What's New in Navicat 18" appeared at the same moment. After closing the window Navicat simply carried on and opened the table after all.
  • No AI in the free version. Navicat Premium Lite is free, also for commercial use, for up to five users per organization. According to the feature matrix, AI Chat, Ask AI, Fill with AI and Fix with AI are only in the paid versions. The error checking while you type is in Lite.
A Crash Report window of Navicat Premium 18.0.8 (64-bit) on Windows 11 with the text Unknown Internal Error (A70529215255), invalid vector subscript, and the buttons Copy and Close.
Seen twice when opening a table. After that Navicat simply carried on.

What I did not test

To be honest about the limits of this review:

  • only SQLite, not the MySQL and PostgreSQL versions of the test database;
  • only two local models of around 8 to 9 billion parameters, no cloud service;
  • not the cleaning up of the sizes in order_items (819 rows with a local model) and not Data Masking;
  • not the network test from the previous section.

What does it cost?

Navicat Premium is available as a subscription, per month or per year, and as a perpetual license. With a perpetual license you use the version you bought for as long as you want and you get the minor updates within that version. As an example, Navicat mentions 17.1 and 17.2 for version 17. With a subscription you have the latest version for as long as you pay (Navicat's explanation). There is a full 14-day trial version, and Navicat Premium Lite is free, but without AI. On 4 December 2026, Navicat's price page listed these amounts in US dollars, per user, with no mention of VAT: the Enterprise edition costs 99.99 per month, 999.99 per year or 1,999 for a perpetual license, the Standard edition 74.99 per month, 749.99 per year or 1,499. A perpetual license includes one year of maintenance. According to Navicat, the difference between the two editions is the data modeling tool and the BI features. I tested Enterprise. Prices change and there are regular promotions, so check that page before you buy.

Who is it for?

If you work with several database types every day and want one program for all of them, Navicat Premium is still a strong, fast program. The AI is then an extra that saves you time now and then: a first version of a query, a typo you see straight away, a table design to refine.

Do not buy it for the AI alone. With a local model of 8 billion parameters the answers vary too much to use without checking, and Navicat does not tell you when it goes wrong. If you are only looking for a good free client, Navicat Premium Lite is a reasonable choice, as long as you know that the AI is not in it.

The most useful thing about the AI in Navicat 18 is not a button that writes SQL, but the screen that shows what the AI wants to change before it happens. In my test, a local model wrote one query perfectly and the next convincingly wrong. You only see that difference if you know the right answer yourself, and then you do not really need the AI that badly any more.

Frequently asked questions

Does Navicat 18 work with Ollama?

Yes. Go to Tools → Options → AI, turn on Enable AI Assistant, click + and choose Ollama. The address localhost:11434 is already filled in, and Navicat fetches the list of models itself. You do have to accept a disclaimer first.

Does Navicat 18 work with LM Studio?

LM Studio is in the list as a separate provider, and Navicat has a guide for it with the same steps as for Ollama. I did not test it myself.

Does Navicat Premium Lite have AI features?

No. According to Navicat's feature matrix, AI Chat, Ask AI and Fill with AI are only in the paid versions. The error checking while you type is in Lite, but without the Fix with AI button.

Can I install Navicat 18 alongside Navicat 16?

Yes. On my computer Navicat Premium 18 is in C:\Program Files\Navicat\Navicat Premium 18, next to an older Navicat 16 for MySQL. Both start independently of each other.

Is a local model good enough for Ask AI?

For simple queries, yes: my top 5 question was right the first time. With questions that take more steps it went wrong, without the result looking suspicious. Check every answer against a number you already know.

Further reading on this site

Sources and further reading

Navicat (official, accessed 4 December 2026)

My own tests

  • 4 December 2026, Windows 11, Navicat Premium 18.0.8 (64-bit), SQLite 3.45.0 in Navicat, Ollama with ministral-3:8b and glm4:latest. Times were measured with the clock and rounded.
  • Reference answers calculated with handwritten SQL on the same database. The Ask AI query and the DDL from the table designer were also run separately in SQLite 3.53.4 and 3.49.1, with the same results and error messages as above.
  • Test database gunners_shop (SQLite, MySQL and PostgreSQL scripts, docker-compose.yml, the build script) and the test plan with the correct answers: gunners-shop-testlab-1.0.zip (52 kB, SHA-256).

Share this article

Erik van de Blaak

Written by

Erik van de Blaak

AI Solutions Engineer & Full-Stack Developer

Erik van de Blaak is an AI Solutions Engineer and full-stack developer at CareerValue BV. Here he writes about AI coding tools and agents, such as Claude Code.

Comments (0)

Comment on this article

Never published

I read every comment before it goes online.

No comments on this article yet.