probable solution for linux :
1. sudo
/etc/init.d/mysqld start
2. mysql -u username -p
(then password)
/etc/init.d/mysqld start
2. mysql -u username -p
(then password)