We help IT Professionals succeed at work.
Get Started

What affects will resetting mysql root password have on my database and server?

Last Modified: 2012-05-10
My company hosts their intranet on their own internal server. The intranet runs a mysql database. We no longer know the root password to update or create a database. However the php coding calling up the intranet's database has a different user name other than root(the privileges aren't set as high as superuser). If I reset the mysql root password (http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html) will it delete my other user names and passwords? Will resetting the root password allow me to create and alter databases while keeping my php scripts working that use a different username and password? Lastly, will other parts of the server be affected other than my php scripts that access the database if I reset the root password? thanks.
Watch Question
This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE