[CONC-541] Access denied for user 'root'@'local Created: 2021-04-06  Updated: 2021-04-06  Resolved: 2021-04-06

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: George Gudgeon Assignee: Georg Richter
Resolution: Not a Bug Votes: 0
Labels: None
Environment:

Mac Big Sur



 Description   

Hello, I'm getting this message during the installation:

In order to log into MariaDB to secure it, we'll need the current password for the root user. If you've just installed MariaDB, and haven't set the root password yet, you should just press enter here. Enter current password for root (enter for none): ERROR 1698 (28000): Access denied for user 'root'@'local

I press enter and get that error, but I don't know/haven't set a password



 Comments   
Comment by Georg Richter [ 2021-04-06 ]

If you connect as user "root@localhost" you need to that as root or execute the command via sudo, since by default authentication via unix_socket plugin is used. For more details please check https://mariadb.com/kb/en/authentication-plugin-unix-socket/

Generated at Thu Feb 08 03:06:03 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.