Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

bb7133's avatar

Support for TiDB

TiDB is an open-source NewSQL database inspired by Google Spanner/F1 and aims for MySQL compatibility.

I've noticed some TiDB users are using Laravel with TiDB through MySQL protocol, and there'll be some inconveniences due to:

  • the unsupported features on MySQL compatibility like savepoints, foreign key constraints...
  • some extended features in TiDB, for example, the sequence generator.

I have a plan for the further implementation of TiDB with Laravel, please, let me know what you think about that. It would be appreciated if there's a specific guide for the database integrations.

Thanks!

1 like
0 replies

Please or to participate in this conversation.