- enable Gii
- open mysql connection