简体   繁体   中英

MySQL won't allow access - "ERROR 1045 (28000)" - newly installed the free Community version on my Macbook

I downloaded the MySQL free community version to my macbook running OS 10.15.1, using the DMG download package. It has installed the program but MySQL won't start, saying I don't have access. I've tried the command line syntax below, from the MySQL man page, but it doesn't like my credentials.

mysql --user=user_name --password db_name

I get

ERROR 1045 (28000): Access denied for user 'amichael'@'localhost' (using password: YES)

Since it's the free package I don't want to buy support from Oracle just to figure this out!

The user is likely to be 'root' rather than 'amichael'.

You can also read the free documentation .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM