I agree that this is a frustrating issue, but it is not related to data assist.
the issue is in creating the connection between the PHP server and the MySQL Server.
here is a test:
Create a blank page and add a Dreamweaver recordset to it, you will find you have the same error.
In a number of cases where people have had this issue before, the fix was to uninstall, then reinstall mamp.