Tag: root
-
Ubuntu Server: How to change to the root user
Some guides tell you to enter “su” on Unix systems to get superuser permissions; in Ubuntu, however, this won’t work. As a user with sudo permissions (the user created on install has these) enter the following instead: sudo su Enter your account password and voila, you are logged in as root. You…
-
MySQL: How to log in
If you’re unfamiliar with MySQL you may be following a guide which instructs you to log in as root without actually telling you how; use the following: mysql -u root -p This logs you in as the root user (-u signifying which user you want to log in as) and -p signifies…
-
MySQL: Changing the root user’s password
If you need to change the MySQL root user’s password use the following from a command prompt: mysqladmin -u root -p password NEWPASSWORD Enter the current root password when prompted and replace NEWPASSWORD with the desired password. This should return you to the command prompt, and you can test whether it was…