New answers tagged localhost
Although I usually use a similar approach, I suggest you give sqlyog a try if you are in need of a professional solution that can quickly deploy mysql databases: https://www.webyog.com/ For content, use rsync, which is the fastest way to synchronize local and online. Hope it helps. Good luck.
Do you have to use localhost for any particular reason? The easiest fix for this will be to make those functions work correctly by putting a real hostname or ip address into the site address field in WordPress settings. Look in Settings > General Settings.
Top 50 recent answers are included