最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

mysql - Changing root password in PHPMyAdmin for Wordpress Database when going live

programmeradmin0浏览0评论

Is it a good idea to create a password and make your password secure for your Wordpress database when uploading the database to a third-party web host (going live instead of hosting on localhost) instead of root and no password? :

Change

u. root p. 'no password'

to

u. username p. password

Does it make your database more secure and still accessible to your new third-party host?

Is it a good idea to create a password and make your password secure for your Wordpress database when uploading the database to a third-party web host (going live instead of hosting on localhost) instead of root and no password? :

Change

u. root p. 'no password'

to

u. username p. password

Does it make your database more secure and still accessible to your new third-party host?

Share Improve this question asked May 28, 2019 at 13:51 WestWest 211 silver badge6 bronze badges 1
  • If the database is exposed to the internet, you could be able to use something like mysql -u root -h yoursite to connect to your database and create tables, modify data, or just delete everything, anybody would be able to do it – Tom J Nowell Commented May 28, 2019 at 15:33
Add a comment  | 

1 Answer 1

Reset to default 2

The short answer is yes. Having a secure username and password is paramount to keeping your site secure.

发布评论

评论列表(0)

  1. 暂无评论