Umm, it was actually a bug while upgrading to version 4.0 or above (MySQL)
If anyone else is having this problem just run the command "mysql_fix_privilege_tables" if you get a denied error run "nano -w /usr/bin/mysql_fix_privilege_tables" then find:
root_password=""
host="localhost"
user="root"
port=""
socket=""
You just need to fill in the "password" section then save and run it again... Then everything works
