Solution for error vsql FATAL 5273 Unsupported frontend protocol 3.5 server supports 3.0 to 3.4

Just installed a new Vertica Cluster on host where I have already had Vertica installed and i got this error. After searching a bit and I realized that i was using the client of my previous Vertica installation which was a higher version of my actual install. So the solution was to install the Vertica client with the same version as my Vertica server.

-bash-3.2# rpm -ihv vertica-client-7.0.2-1.x86_64.rpm
Preparing... ########################################### [100%]
1:vertica-client ########################################### [100%]

Vertica Analytic Database Clients V7.0.2-1 successfully installed on host DCG023

To download the latest Vertica documentation in zip or tar format:
http://www.vertica.com/v-zone/product_documentation

Password:
Welcome to vsql, the Vertica Analytic Database interactive terminal.

Type: h or ? for help with vsql commands
g or terminate with semicolon to execute query
q to quit

(dbadmin@:5433) [dbadmin]