问题描述
我正在使用phpmyadmin;我创建了一个数据库;现在我想找到我创建的这个新数据库的用户名和密码.注意,我不是sys admin,我只是开发人员,但是我确实有权在phpmyadmin中的mysql上创建数据库.我的系统管理员需要告诉我用户名和密码才能访问此数据库,还是我可以telnet并获取它?
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?
推荐答案
在MySQL中,创建数据库并不会自动创建与之配套的用户.您必须明确创建用户并授予访问权限.
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
这篇关于mysql phpmyadmin数据库用户密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!