mysql phpmyadmin user password for database

2019-05-08 19:02发布

i am using phpmyadmin; i created a database; now i want to locate the username and password for this new database i created. note, i am not sys admin, i am only the developer, but i do have access to create db on mysql in phpmyadmin. does my sys admin needs to tell me the username and password to access this db, or i can telnet and get it?

4条回答
太酷不给撩
2楼-- · 2019-05-08 19:29

In MySQL creating a database doesn't automatically create a user to go with it. You must explicitly create the user and grant acess.

http://dev.mysql.com/doc/refman/5.1/en/adding-users.html

查看更多
疯言疯语
3楼-- · 2019-05-08 19:29

You can access that database with the user/password used to login on the phpMyAdmin.

You can also create new users (if you have permission to) under the tab Privileges > Add new User. Here you can create pairs of user-database with the same name and auto-permission-granting.

查看更多
神经病院院长
4楼-- · 2019-05-08 19:52

Steps for phpmyadmin GUI:

Select your Database name -> Privileges (here you can see your Privileges).

if you want change password click on the edit privileges icon in the action column

查看更多
看我几分像从前
5楼-- · 2019-05-08 19:56

In your situation, it is highly likely that the login you used to create the database can be used to access the database.

查看更多
登录 后发表回答