php - 大家都使用什么办法来批量修改MySQL的密码?
大家讲道理
大家讲道理 2017-05-16 13:10:04
0
2
364

MySQL的密码很久没有修改了,今天就修改了一下,忽然发现一个问题:
就是服务器上有大概十几个网站,每次修改完密码之后都需要进每个网站程序的配置文件里面修改每个程序的密码,感觉很是麻烦,而且也很费时间。
不知道大家是如何解决这个问题的呢?

大家讲道理
大家讲道理

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

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!