php - What method does everyone use to change MySQL passwords in batches?
大家讲道理
大家讲道理 2017-05-16 13:10:04
0
2
368

MySQL password has not been changed for a long time. I changed it today and suddenly found a problem:
There are about a dozen websites on the server. Every time you change the password, you need to enter the configuration of each website program. Changing the password of each program in the file feels very troublesome and time-consuming.
I wonder how everyone solves this problem?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(2)
过去多啦不再A梦

I usually bind my account to IP, so there are basically no security issues. You can also consider using it this way

大家讲道理

Using the configuration center, simply write a web interface to obtain the mysql address, account, and password. When other websites start up, they can access the configuration center to obtain the configuration of the mysql connection and then connect to mysql

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template