Hi,
If you moved a folder from another computer to this one you may not "Own" the Folder or even have Read and Write permission to it.
The same applies to individual Files as well.
So even if your called the Mac User account on the newer computer to match the old one the Ownership might still be an issue.
Open a Finder Window.
Hold down the ALT key whilst using th Go Menu
Select the Library that appears.
Navigate to Messages
Right Click on one of the Chat.db items and choose Get Info from the Menu
In the Panel scroll to the bottom.
It should list the User's Shortname (which should be the one you use on this Mac).
Unlock the Padlock then which the User name highlighted open the Cogwheel type icon under the List.
It should read "Make (yourShortName) (me) the Owner" but it should be greyed out if you already Own it.
Example:-
Repeat for the other database items.
In the Finder use the View Menu and choose "Show Path Bar"
Right Click the Messages folder icon and double Check your Own that and have Read and Write Permission to that as well.
9:57 p.m. Wednesday; October 14, 2015
iMac 2.5Ghz i5 2011 (Mavericks 10.9)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad