Tag: root

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. Reboot the system to the grub2 menu. Press e to...Read More »
MySQL

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 immediatly encountered the following error: #1045 – Access denied for user ‘root’@’localhost’ (using password: NO)…

Read More »