---
title: SQL table related errors while installing Tagalys for Magento 2
description: "If you run into any SQL table related errors while installing Tagalys plugin in your Magento 2 platform, please follow these steps to solve them:   Note: Please note that you should only do this if yo"
---

[Skip to content](https://support.tagalys.com/sql-table-related-errors-while-installing-tagalys-for-magento-2#main-content)

English

Show submenu for translations

[Contact us](https://support.tagalys.com/kb-tickets/new?hsLang=en)

![tagalys-logo white.png\]](https://support.tagalys.com/hs-fs/hubfs/tagalys-logo%20white.png?height=40&name=tagalys-logo%20white.png)

- Home
- Products
- Pricing
- Blog
- Company

Open main navigation

Close main navigation

- Home
- Products
- Pricing
- Blog
- Company
- English
  
  Show submenu for translations
- [Contact us](https://support.tagalys.com/kb-tickets/new)

 How can we help you today?

- There are no suggestions because the search field is empty.

1. [Support Center](https://support.tagalys.com/?hsLang=en)
2. [Products](https://support.tagalys.com/products?hsLang=en)
3. [Troubleshooting](https://support.tagalys.com/products?hsLang=en#troubleshooting)

# SQL table related errors while installing Tagalys for Magento 2

If you run into any SQL table related errors while installing Tagalys plugin in your Magento 2 platform, please follow these steps to solve them:

 

Note: Please note that you should only do this if you are installing Tagalys for the 1st time and not while updating from a previous version. Doing otherwise will lead to data loss.

- Make sure you have installed the Tagalys plugin via composer as per the instruction given in this [link](https://www.tagalys.com/docs/platforms/magento2/v2/installation-setup/#install-via-composer).
- Drop the following tables if they are present in your Magento database: *tagalys\_config*, *tagalys\_category* and *tagalys\_queue*
- Check the "setup\_module" table for a  row containing "Tagalys\_Sync" in the module column and delete the row if it is found.
- run bin/magento setup:upgrade from your Magento root directory.

- [Products](https://support.tagalys.com/products?hsLang=en#main-content)

    - [Categories | Collections](https://support.tagalys.com/products?hsLang=en#categories-collections)
    - [General](https://support.tagalys.com/products?hsLang=en#general)
    - [Customizations](https://support.tagalys.com/products?hsLang=en#customizations)
    - [Troubleshooting](https://support.tagalys.com/products?hsLang=en#troubleshooting)
- [Magento](https://support.tagalys.com/magento?hsLang=en#main-content)

    - [Installation and Onboarding](https://support.tagalys.com/magento?hsLang=en#installation-and-onboarding)
    - [Troubleshooting](https://support.tagalys.com/magento?hsLang=en#troubleshooting)
- [Shopify](https://support.tagalys.com/shopify?hsLang=en#main-content)

    - [Installation and Onboarding](https://support.tagalys.com/shopify?hsLang=en#installation-and-onboarding)
    - [Troubleshooting](https://support.tagalys.com/shopify?hsLang=en#troubleshooting)
    - [General](https://support.tagalys.com/shopify?hsLang=en#general)
    - [Uninstallation](https://support.tagalys.com/shopify?hsLang=en#uninstallation)
- [FAQs](https://support.tagalys.com/faqs?hsLang=en#main-content)

    - [Client Data](https://support.tagalys.com/faqs?hsLang=en#client-data)
    - [Pricing](https://support.tagalys.com/faqs?hsLang=en#pricing)
    - [General FAQs](https://support.tagalys.com/faqs?hsLang=en#general-faqs)
- [Integration](https://support.tagalys.com/integration?hsLang=en)
- [A/B testing](https://support.tagalys.com/a-b-testing?hsLang=en#main-content)

    - [A/B testing](https://support.tagalys.com/a-b-testing?hsLang=en#a-b-testing)
- [Collections merchandising](https://support.tagalys.com/collections-merchandising?hsLang=en#main-content)

    - [Product sequencing](https://support.tagalys.com/collections-merchandising?hsLang=en#product-sequencing)
    - [Global Sort Options (GSO)](https://support.tagalys.com/collections-merchandising?hsLang=en#global-sort-options-gso)
    - [Product pinning](https://support.tagalys.com/collections-merchandising?hsLang=en#product-pinning)
    - [Promotion/Demotion](https://support.tagalys.com/collections-merchandising?hsLang=en#promotion-demotion)
    - [Version Scheduling (Draft and historical versions)](https://support.tagalys.com/collections-merchandising?hsLang=en#version-scheduling-draft-and-historical-versions)
    - [A/B testing](https://support.tagalys.com/collections-merchandising?hsLang=en#a-b-testing)
    - [Other](https://support.tagalys.com/collections-merchandising?hsLang=en#other)
    - [Looks](https://support.tagalys.com/collections-merchandising?hsLang=en#looks)
- [Search](https://support.tagalys.com/search?hsLang=en#main-content)

    - [Search Results](https://support.tagalys.com/search?hsLang=en#search-results)
    - [Search Suggestions](https://support.tagalys.com/search?hsLang=en#search-suggestions)
    - [Search Analysis section](https://support.tagalys.com/search?hsLang=en#search-analysis-section)
    - [Search Accuracy](https://support.tagalys.com/search?hsLang=en#search-accuracy)
    - [Merchandised Search](https://support.tagalys.com/search?hsLang=en#merchandised-search)
    - [Other](https://support.tagalys.com/search?hsLang=en#other)
- [Recommendations](https://support.tagalys.com/recommendations?hsLang=en)
- [Markets and segments](https://support.tagalys.com/markets-and-segments?hsLang=en)
- [Dashboard Reporting](https://support.tagalys.com/dashboard-reporting?hsLang=en)
- [General](https://support.tagalys.com/general?hsLang=en)

- Home
- Products
- Pricing
- Blog
- Company

[![Chill listening crop-3](https://support.tagalys.com/hs-fs/hubfs/New-Tagalys-Black-Logo-Large-1.png?width=59&height=24&name=New-Tagalys-Black-Logo-Large-1.png "Chill listening crop-3")](http://tagalys.com)

Tagalys Support Center

<https://twitter.com/tagalys> <https://www.linkedin.com/company/tagalys/>

Copyright © 2026, Tagalys Inc