MySQL question - TechRepublic
Question
May 30, 2008 at 06:18 AM
jiminpa

MySQL question

by jiminpa . Updated 18 years, 1 month ago

Somedays I really hate computers. 🙁

Ok here’s what I got. I’ve been troubleshooting a MySQL database connection problem for a couple days now. I think I figured out it was I permission problem. I tried to grant access on the database and it tells me access denied. I am logged in as root. The error message looks like this.

ERROR 1044 (42000): Access denied for user ”@’localhost’ to database ‘pacsdb’

It looks like my credentials aren’t being passed when I excute the command. I envoke mysql from the command line using the following.

>mysql -uroot

Any ideas?

This discussion is locked

All Comments