https://bisacloud.my.id/posts/cara-menyimpan-output-query-mysql-ke-file/