Advertisement
thesuhu

MySQL Configuration

Jan 6th, 2022 (edited)
1,427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # my.ini my.cfg
  2. # SELECT @@GLOBAL.sql_mode;
  3. # pengaturan sql_mode, mysql mode lama
  4. # lokasi centos: sudo vi /etc/my.cnf
  5. # lokasi file ubuntu: sudo vi /etc/mysql/mysql.conf.d/mysqld.cnf
  6. # semula: ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
  7. # menjadi
  8. sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement