Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of changing the default password by phpmyadmin

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you the method of phpmyadmin to change the default password, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Set password=password ('hello'); / / change the root password to hello

The user information in mysql is stored in the user table of the system database mysql:

Create a user

Grammatical form:

Create user 'user name' @ 'address allowed to log in' identified by 'password'

Description:

1. The created user needs to specify at the same time at which address the user can log in.

Where "%" represents "any address".

2. After the user is created, a record is automatically added to the user table of mysql, but the user does not have permission.

Delete user

Drop user 'user name' @ 'address allowed to log in'

Modify a user's password

Change your password: set password = password ('new password')

Change someone else's password (you must have permission to change it):

Set password for 'username' @ 'allowed login address' = password ('new password')

The above is all the contents of this article entitled "how to change the default password by phpmyadmin". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report