Separate a database from one machine, attached to another machine, after deleting the user of the database on the new machine, then add, and set the permissions, OK!
Note: Be sure to set the permissions, otherwise the user who does not operate the database is miserable.