UPDATE tableA a, tableB b, SET a.email = b.email, a.name = b.name WHERE a.id = b.id tableB ini boleh pakai subquery seperti ini (SELECT b.id, b.email, b.name FROM tableXXX)
1. Database -> Add -> Connected 2. Persistent -> right click persistent -> Generate Persistent Mapping -> By Database Schema 3. Choose connection yang tadi dibuat, masukan package yang dituju pilih table lalu oke. secara otomatis akan dibuat kan persistent model class nya tanpa perlu buat manual
1- Comment out bind 127.0.0.1 2- Change protected-mode to no 3- Protect my server with iptables ( https://www.digitalocean.com/community/tutorials/how-to-implement-a-basic-firewall-template-with-iptables-on-ubuntu-14-04 ) source: https://stackoverflow.com/questions/19091087/open-redis-port-for-remote-connections