DreamHost is currently using MySQL server 4.0.23.
mysql -V gives the version of the MySQL client which is currently 4.1.8 on the DreamHost servers. To get the server version, you have to connect to your server:
$ mysql -h -u -p
It will print out something like:
Your MySQL connection id is 56907 to server version: 4.0.23a-log