mysqlmacosterminal

Permission denied MySQL


Why am I denied access and how can I fix it? I googled a lot but still couldn't find the answer

zsh: permission denied: /usr/local/mysql


Solution

  • Probably you haven't created yet new users, and if im right both mariadb and mysql start with only two users with an "invalid" password allowing you to get access only from local.. try "sudo mysql", you should be logged in as the mysql root user and be able to create new standard users