can you double check with the host that using "localhost" in the connection for the mysql server is correct.
Does the "triangle_store" database exist on the remote MySQL Server or you local mySQL server?
It needs to exist on the remote my SQL server.
Yes, $WAGLOBAL_remoteRoot should be set to /PowerStore200/
$WAGLOBAL_remoteRoot = "/PowerStore200/";