By default, MySQL only allows connections from the localhost address. The configuration file is usually found in /etc/mysql/my.cnf
Simply open a new Terminal window and type in this command
Simply run this command:
Instead of having to constantly type in ‘sudo’ every time you need to make an admin change, you can use one of these commands to act as root.
The Ruby language has a very simple control structure that is easy to read and follow.