I am trying to copy an SQL database from the folder using this command:
sudo mysql -u root globe_bank ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) sudo mysql -u root -p globe_bank ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
I rang apple support and we changed the password of the root directory, they confirmed it was successful still getting this message. I have tried a few of the suggestions on similar threads, and mostly I get command not found.
When I type in mysql my connection ID is 19.
Any ideas or help is appreciated
mysql -u rootand see if you can get into. Make sure you are logged in from root user. You can usesudo -ito switch to root user - Arunroot. It seems you are only able to access mysql from root user. Make sure you arerootuser first. - Arun