Watch this video to fix the Error Code: 1381. You are not using binary logging occured in the MySQL Server command prompt or Workbench while working with show binary logs command. By enabling this feature we can generate log files in your local machines.