[root@datanode6 mysql]# cd /var/run/
[root@datanode6 mysql]# mkdir mysql
[root@datanode6 mysql]# chmod 777 mysql/
[root@datanode6 run]# /etc/init.d/mysqld start
[root@datanode6 run]# mysql -u root -p -S /var/lib/mysql/mysql.sock
[root@datanode6 mysql]# cd /var/run/
[root@datanode6 mysql]# mkdir mysql
[root@datanode6 mysql]# chmod 777 mysql/
[root@datanode6 run]# /etc/init.d/mysqld start
[root@datanode6 run]# mysql -u root -p -S /var/lib/mysql/mysql.sock