whilst Im trying to setup MYSQL i hit the following problem!

[root@localhost edb3]# /usr/bin/mysql_install_db

I am then recommend to run

/usr/bin/mysql_secure_installation

when i do this i get the following error.

Enter current password for root (enter for none):
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)