CodeIgniter Forums
CI4 support MariaDB? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31)
+--- Thread: CI4 support MariaDB? (/showthread.php?tid=88728)

Pages: 1 2


CI4 support MariaDB? - eleumas - 10-26-2023

My hosting service it will update MySQL with MariaDB. Is Codeigniter 4 compatible?
I read the doc: https://www.codeigniter.com/user_guide/intro/requirements.html#requirements-supported-databases but i do this question for more security.
Thanks for help me.


RE: CI4 support MariaDB? - CIDave - 10-26-2023

Yes it does.


RE: CI4 support MariaDB? - InsiteFX - 10-26-2023

I use it all the time not MySQL it works just fine


RE: CI4 support MariaDB? - ThanogHamros - 11-21-2023

Yes, CodeIgniter 4 is compatible with MariaDB. MariaDB is a fork of MySQL, and it is fully compatible with the MySQL driver that comes with CodeIgniter 4. In fact, MariaDB is the default database for CodeIgniter 4 installations.

I understand your concern about wanting to be sure, but you can rest assured that CodeIgniter 4 will work fine with MariaDB. There are no known compatibility issues between the two platforms.

Here are some additional things to keep in mind:

MariaDB is a drop-in replacement for MySQL, so you won't need to make any changes to your CodeIgniter 4 application when you switch to MariaDB.
MariaDB is a very stable and well-maintained database, so you can be confident that it will be reliable.
MariaDB is open-source software, so it is free to use.
If you are still having any concerns, you can always contact the CodeIgniter 4 community for support. There are many helpful people who will be happy to assist you.

I hope this helps!


RE: CI4 support MariaDB? - eleumas - 11-21-2023

Thanks for reply! ?


RE: CI4 support MariaDB? - SubrataJ - 11-21-2023

#Question, which one would you prefer while working with a large dataset?


RE: CI4 support MariaDB? - captain-sensible - 11-21-2023

(11-21-2023, 03:54 AM)SubrataJ Wrote: #Question, which one would you prefer while working with a large dataset?
How large ?


RE: CI4 support MariaDB? - SubrataJ - 11-21-2023

(11-21-2023, 05:43 AM)captain-sensible Wrote:
(11-21-2023, 03:54 AM)SubrataJ Wrote: #Question, which one would you prefer while working with a large dataset?
How large ?

For example, in a student management application with multiple schools, each school has a minimum of 50K students and has to manage their daily attendance and a lot of report generation. It's in the development process and it still client manages to insert more than 1M data overall in just 3 months.


RE: CI4 support MariaDB? - demyr - 11-22-2023

(10-26-2023, 09:23 PM)InsiteFX Wrote: I use it all the time not MySQL it works just fine

@InsiteFX  Are you on a shared hosting plan and if yes, how easy is it  to find a good shared hosting with mariadb?


RE: CI4 support MariaDB? - joho - 03-27-2024

(11-22-2023, 12:06 AM)demyr Wrote:
(10-26-2023, 09:23 PM)InsiteFX Wrote: I use it all the time not MySQL it works just fine

@InsiteFX  Are you on a shared hosting plan and if yes, how easy is it  to find a good shared hosting with mariadb?

I can't speak for others, but our company (located in Europe) exclusively use MariaDB for our shared and dedicated hosting plans. We have been doing so for quite some time and have seen no adverse effects for any PHP based application. I think many "MySQL compatible" providers today are actually using MariaDB.