# mySQL Access denied

**URL:** <https://forum.kirupa.com/t/mysql-access-denied/162299>\
**Category:** programming\
**Created:** [September 12, 2005, 12:03am UTC](https://forum.kirupa.com/t/mysql-access-denied/162299 "2005-09-12T00:03:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mumphoooe](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@mumphoooe](https://forum.kirupa.com/u/mumphoooe)\
**Post date:** [September 12, 2005, 12:03am UTC](https://forum.kirupa.com/t/mysql-access-denied/162299/1 "2005-09-12T00:03:46Z")

</div>

Hello all, unfortunately my first post is appearing in my own thread. Sorry about that.

I am having some basic mySQL post installation problems. Basically, I cannot connect to to my local server as the root user. I can connect to the database, and run all the standard tests, but as far as modifying the databases and creating new ones, I don’t have permission. I really cannot tell you more then that, other then the fact that I am running on OS X 10.4.2, and I used the 4.1xxx standard mySQL pkg for OS X.

As far as my problem goes, it seems very common. I’ve been to the mySQL forums and a few other places, and I saw a decent amount of people complaining about the Accsess denied errors, but still could not really put a stop to my problem.

Here’s what the terminal is telling me:

[COLOR=Blue]:/usr/local/mysql nickdaniel$  
:/usr/local/mysql nickdaniel$ /usr/local/mysql/bin/mysqladmin -u root password new\_password\_here  
/usr/local/mysql/bin/mysqladmin: connect to server at ‘localhost’ failed  
error: ‘Access denied for user ‘root’@‘localhost’ (using password: NO)’  
:/usr/local/mysql nickdaniel$  
:/usr/local/mysql nickdaniel$ /what de fook;  
[/COLOR]

And if this helps, here’s the installation run-down I followed:

[http://www.entropy.ch/software/macosx/mysql/](http://www.entropy.ch/software/macosx/mysql/)
