lunedì 11 aprile 2016

How to make SQL tables case insensitive in Ubuntu

Open terminal and edit /etc/mysql/my.cnf
sudo nano /etc/mysql/my.cnf
Underneath the [mysqld] section.add:
lower_case_table_names = 1
Restart mysql
sudo /etc/init.d/mysql restart
Then check it here:
mysqladmin -u root -p variables

Nessun commento:

Posta un commento