1.线上访问你改好名字的文件,出现登录界面如下:

2.在Adminer这里,如果MySQL的IP不是localhost,无需像phpMyAdmin修改配置文件,直接在服务器后面输入IP地址或域名即可。除了服务器地址,Adminer还支持登录到某一个数据库,演示的是登录root账号,直接用户名和密码登录之后:

3.phpMyAdmin创建用户的时候,可以和数据库一起创建,但是Adminer就得分开创建再关联(phpMyAdmin也可以分开创建再关联),点击“创建新数据库”进行创建数据库。

4.创建数据库的时候,左侧输入框填写数据库名字,这里以dbtest为例,右侧选择框选择“utf8_general_ci”,也就是统一编码。utf8_general_ci代表我们平时说的utf-8,K9通用版使用的就是该编码。如果你安装其他较特殊的程序,如有“生僻汉字及emoji表情符号”的话,则需要选择“utf8mb4_general_ci”编码。选择之后,点击保存。

5.创建访问该数据库的用户。创建好数据库之后,默认进入该数据库的表和视图,在该界面点击“权限”链接。

6.该权限操作是针对数据库dbtest的。在此界面点击“创建用户”链接。

7.填写用户名、密码。再往下看,权限右侧已经有`dbtest`.*,意思是在数据库dbtest中该如何分配权限,因为dbtest是完全为了dbtest这个数据库而新建的,所以选择“All privileges”,意思是所有权限。接着再往下看,点击保存,就完成该数据库的用户dbtest的新建。
