IMHO it's a quite straight forward error message, that the user dan, when he
connects from the host 22.214.171.124 don't have the accesses to use SELECT for
the table user.
1. You aren't logged into the MySQL server as administrator, but as dan, who
won't have the same rights as the root user who connects from the localhost,
as the MySQL is on a remote machine, you won't be able to login from localhost
as long as you use your machine directly, you have to connect to the remote
machine, say using putty, then invoke the mysql client and login as root.
If you don't have a remote login to the server running the mysql, then you
can't do this, and if you would have, you still will need to have the root
password, but as the mysql server is a shared one, I doubt you have any root
If you are lucky, you may have the privilege with dan to create new users for
the database you have on the shared mysql server, you log in to the database
as you normally do and use the GRANT command to create the new user. If you
lack the privilege to do this, then contact the company that hosts the mysql
server and ask them to create the user for you.