Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all articles
Browse latest Browse all 7239

I do not have privilege - mac Lion (2 replies)

$
0
0
Hi,

After installed Mysql on my macbookpro, I can 'login' to mysql and see 'mysql>'. When I try to CREATE USER from mysql> the error msg:

ERROR 1227 (42000): Access denied; you need (at least one of) the CREATE USER privilege(s) for this operation

From my understanding mysql accepts any user without password but they all do not have ALL PRIVILEGES.

I can login with any name except root, see error msg:
/usr/local/mysql/bin/mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

I tried sudo
sudo /usr/local/mysql/bin/mysqladmin CREATE USER 'dbbuser'@'localhost' IDENTIFIED BY 'password'
Password:
/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

I couldn't find a way to assign a user and password with ALL PRIVILEGE.

Would someone help me on this? I did read a lot of articles regarding reset/assign user/password but the are my case. I think this could be because the Mac OS??

tks Jone

Viewing all articles
Browse latest Browse all 7239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>