(Linux System) Everytime I try to log into MySQL or create a database I get "Access denied for user@localhost". I just recently installed mysql using apt-get install and I don't recal creating a password or anything for it when I installed it. Any ideas?

Member Avatar

There are Linux systems where mysql_install_db must be manually executed after new mysql installation. This is to set up grant tables.

Here are more details: Click Here