I'm not sure if this is exactly the right solution to your problem, but have you tried editing the my.conf file in /etc/mysql to say that user=root rather than daemon or whatever else it is?
This worked for me, but is a bit on an insecure method, ie fine if all you want is to access the database locally, less good if you want your Z to work as a server
Hope this helps
Jo