September 20, 2013 at 8:25 pm
There may be a function in there already but I use only the barest minimum of the features. So Please excuse my ignorance. I have a situation where I have to change the password of users with the name "admin" to something else.
The people loading the databases were supposed to change it from the default in the first place but no one ever did.
Now I have ... a Lot.. of MYSQL databases all separate that all have that huge security hole. They were all created with the single user of Admin and password of admin to make it easy for the first user to get in and change it.
Instead, they created another account for themselves with their own name and password and gave it admin privileges.
and just left the admin account with the admin password just sitting there. :>(
I recently discovered that no one had even bothered to change the admin password. even if they were not going to use it, if they don't change it or delete that user (they did neither) it leave me with a security issue.
I was hoping there would be a way to batch query every field in all the databases at once because there are at least 70 If I could run a script to fix them all at once to just change THAT username. Just removing the word "admin" from any where is it appears or changing it to anything else for now would be a huge improvement
Thanks for any suggestions. If nothing else, it will be a long run in PHPMYADMIN to fix manually
September 20, 2013 at 11:42 pm
basic 79842 (9/20/2013)
There may be a function in there already but I use only the barest minimum of the features. So Please excuse my ignorance. I have a situation where I have to change the password of users with the name "admin" to something else.The people loading the databases were supposed to change it from the default in the first place but no one ever did.
Now I have ... a Lot.. of MYSQL databases all separate that all have that huge security hole. They were all created with the single user of Admin and password of admin to make it easy for the first user to get in and change it.
Instead, they created another account for themselves with their own name and password and gave it admin privileges.
and just left the admin account with the admin password just sitting there. :>(
I recently discovered that no one had even bothered to change the admin password. even if they were not going to use it, if they don't change it or delete that user (they did neither) it leave me with a security issue.
I was hoping there would be a way to batch query every field in all the databases at once because there are at least 70 If I could run a script to fix them all at once to just change THAT username. Just removing the word "admin" from any where is it appears or changing it to anything else for now would be a huge improvement
Thanks for any suggestions. If nothing else, it will be a long run in PHPMYADMIN to fix manually
You are in a SQL Server forum! You will no doubt have more success if you head over to a dedicated MySQL forum.
The absence of evidence is not evidence of absence
- Martin Rees
The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
- Phil Parkin
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply