'In EasyPHP, how to disable MySQL strict mode for good?

I use EasyPHP. I keep having

Field 'my field' doesn't have a default value

error , though my fields DO have a default value and it used to work with the old version of EasyPHP.

I understand that this is because MySQL is in strict mode.

So I execute SET GLOBAL sql_mode=''; on the database, and it works.

The problem is that every time I restart the computer and EasyPHP, MySQL goes back to strict mode again...

How can I permanently disable strict mode ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source