After I installed Mysql 5 on a linux server, I ran "mysql -u root -p" and the user root had no password yet, but I always got mysql access denied error, who could tell me where is wrong, thanks!
A couple things to try and report back if they don't work.... 1. Try just running mysql -u root (dropping the -p, if there is no password you shouldn't need the -p)