Tag: root

Gitlab: Reset Your root Password

You may find yourself in front of a Gitlab install and completely forgot the password.  The following method works flawlessly, so I haven’t changed any of the steps. To reset your root password, first log into your server with root privileges. Start a Ruby on Rails console with this command: gitlab-rails console -e production Wait until the console has loaded….

Read More »
Linux Logo

Reset Root Password on CentOS7

CentOS7 offers a completely different approach to resetting a forgotten root password than the it’s earlier distro of CentOS6.x.  Here are multiple approaches that was tested on CentOS Linux release 7.2.1511 (Core) with success.  The last one being one that I combined from the many different approaches into fewer steps. Reset the Root password (version 1 Reboot the system to…

Read More »

MySQL Reset root Password

Every now and again a MySQL root password may have been forgotten or undocumented along the way, but that does not negate the need to access the MySQL server. There is a way to gain access to the MySQL server to change the password for root and eventually log in as root. Applies to: CentOS / RHEL / Scientific Linux…

Read More »

Enable the root user in Ubuntu 8.1.0

Many Linux distributions permit the use of the root user as a primary login, however, the dominant and popular Ubuntu has left some users in a conundrum. In order to perform tasks as a root user, this must be performed within a terminal window with the sudo command. However, here are a set of instructions that will allow the root…

Read More »

#1045 – Access denied for user ‘root’@’localhost’ (using password: NO) fix

On a test box running an older version of WAMP, I wanted to correct an installation oversight, the user root with no password. After installing several databases, I decided to change the user root password from no password to some password. After doing so, I immediately encountered the following error: #1045 – Access denied for user ‘root’@’localhost’ (using password: NO)…

Read More »