Connecting user/pass to all 256 databases

I have done everything up until connecting main user/pass to all 256 databases. I simply do not know how to do it. Can someone explian me how I can do it? Either cpanel, SSH, PHP Script?

I am running on a full dedicated server with all possible access.