kirilkirkov / Ecommerce-CodeIgniter-Bootstrap

Responsive, Multi-Vendor, MultiLanguage Online Store Platform (shopping cart solution)
MIT License
1.26k stars 942 forks source link

Recommended db settings #239

Closed ugintl closed 1 year ago

ugintl commented 1 year ago

What is the recommended db charset and collation for CI 3?

surepeps commented 1 year ago

@ugintl by default charset comes with cl3 setting Check the following path "application/config/database.php" But you can change it if you want just that for every tables must have charset utf8mb4 engine

ugintl commented 1 year ago

@surepeps Thanks. I have a CI 3 app which is using latin1_swedish_ci for database and utf8_general_ci for tables. Is it ok?

kirilkirkov commented 1 year ago

@ugintl utf8_general_ci is better encoding, so i suggest you to change the tables which are latin1_swedish_ci to utf8_general_ci