Hi,

I am Linux Fedora and having problems connecting to MySQL despite being root. Here is the error when I type mysql at the prompt/terminal.

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

Can any one help? Thanks...

The error says it all: you haven't used a password. So when you start the mysql shell, make sure you use the -p option to give you a chance to authenticate yourself.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.