You can use these commands from lxplus7 or lxshare nodes to connect to the mysql server used in the example:
setenv MYSQL /afs/cern.ch/sw/lcg/external/mysql/4.0.4-beta/Linux__2.4
setenv LD_LIBRARY_PATH $MYSQL/lib
$MYSQL/bin/mysql -h lxshare070d -u reader test_MyEC

mysql> SHOW TABLES;
mysql> SELECT * FROM collection_test5b;
mysql> quit;
More detailed instructions are provided in the workbook.