• Home
  • Cloud VPS
    • Hong Kong VPS
    • US VPS
  • Dedicated Servers
    • Hong Kong Servers
    • US Servers
    • Singapore Servers
    • Japan Servers
  • Company
    • Contact Us
    • Blog
logo logo
  • Home
  • Cloud VPS
    • Hong Kong VPS
    • US VPS
  • Dedicated Servers
    • Hong Kong Servers
    • US Servers
    • Singapore Servers
    • Japan Servers
  • Company
    • Contact Us
    • Blog
ENEN
  • 简体简体
  • 繁體繁體
Client Area

How to Fix MySQL Error 1224 – SQLSTATE: HY000 (ER_MIXING_NOT_ALLOWED) Mixing of transactional and non-transactional tables is disabled

December 20, 2023

How to Fix MySQL Error 1224 – SQLSTATE: HY000 (ER_MIXING_NOT_ALLOWED) Mixing of transactional and non-transactional tables is disabled

MySQL is a popular open-source relational database management system used by many websites and applications. However, like any software, it can encounter errors that can disrupt its normal operation. One such error is MySQL Error 1224 – SQLSTATE: HY000 (ER_MIXING_NOT_ALLOWED) which occurs when there is an attempt to mix transactional and non-transactional tables in a query. In this article, we will explore the causes of this error and provide solutions to fix it.

Understanding the Error

When you encounter MySQL Error 1224, you will see an error message similar to the following:

ERROR 1224 (HY000): The used table type doesn't support FULLTEXT indexes

This error occurs when you try to perform a query that involves both transactional and non-transactional tables, and the table type used does not support the operation. In MySQL, transactional tables use the InnoDB storage engine, while non-transactional tables use other storage engines like MyISAM.

Causes of MySQL Error 1224

There are several reasons why you might encounter MySQL Error 1224:

  • Using different storage engines for transactional and non-transactional tables in the same query.
  • Attempting to perform a FULLTEXT index operation on a non-transactional table.
  • Using a combination of transactional and non-transactional tables in a query that requires a temporary table.

Fixing MySQL Error 1224

To fix MySQL Error 1224, you can try the following solutions:

1. Convert Non-Transactional Tables to InnoDB

If you have non-transactional tables involved in the query, consider converting them to the InnoDB storage engine. InnoDB supports transactions and provides better data integrity and concurrency control. You can use the following steps to convert a table to InnoDB:

  1. Create a backup of the table.
  2. Alter the table to use the InnoDB storage engine.
  3. Restore the data from the backup.

By converting all tables involved in the query to InnoDB, you can avoid the mixing of transactional and non-transactional tables.

2. Use Temporary Tables

If your query requires the use of temporary tables, make sure that all tables involved in the query have the same storage engine. You can create a temporary table explicitly using a specific storage engine to ensure consistency.

3. Modify the Query

If possible, modify the query to avoid mixing transactional and non-transactional tables. This may involve rewriting the query or restructuring the database schema to use a consistent storage engine.

Summary

In conclusion, MySQL Error 1224 – SQLSTATE: HY000 (ER_MIXING_NOT_ALLOWED) occurs when there is an attempt to mix transactional and non-transactional tables in a query. To fix this error, you can convert non-transactional tables to InnoDB, use temporary tables with the same storage engine, or modify the query to avoid mixing table types. If you are experiencing this error, consider using Server.HK for reliable and high-performance VPS hosting solutions. Our Hong Kong VPS hosting services are designed to meet the needs of businesses and individuals looking for secure and scalable hosting solutions.

Recent Posts

  • NVMe SSD vs SATA SSD for VPS Hosting: Does Storage Type Really Matter?
  • Hong Kong VPS Docker Setup: Run Containers with Full Root Access
  • How to Set Up a Game Server on Hong Kong VPS: Low-Latency Gaming for Asia
  • How to Deploy a Node.js Application on Hong Kong VPS: Complete Guide
  • How to Set Up a WordPress Site on a Hong Kong VPS with aaPanel (Step-by-Step 2026)

Recent Comments

  1. hello world on Top 5 Use Cases for a Hong Kong Dedicated Server in 2026

Knowledge Base

Access detailed guides, tutorials, and resources.

Live Chat

Get instant help 24/7 from our support team.

Send Ticket

Our team typically responds within 10 minutes.

logo
Alipay Cc-paypal Cc-stripe Cc-visa Cc-mastercard Bitcoin
Cloud VPS
  • Hong Kong VPS
  • US VPS
Dedicated Servers
  • Hong Kong Servers
  • US Servers
  • Singapore Servers
  • Japan Servers
More
  • Contact Us
  • Blog
  • Legal
© 2026 Server.HK | Hosting Limited, Hong Kong | Company Registration No. 77008912
Telegram
Telegram @ServerHKBot