phpmyadmin尽管将$ cfg ['Servers'] [$ i] ['auth_type']更改为从cookie配置,但不允许创建数据库

时间:2018-12-16 13:30:30

标签: phpmyadmin

This is the image

有关我的本地主机服务器的更多信息:

Server: Localhost via UNIX socket
Server type: MySQL
Server version: 5.7.24-0ubuntu0.18.04.1 - (Ubuntu)
Protocol version: 10
User: phpmyadmin@localhost
Server charset: UTF-8 Unicode (utf8)


 Apache/2.4.29 (Ubuntu)
Database client version: libmysql - mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $
PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation
PHP version: 7.2.10-0ubuntu0.18.04.1

尽管我尝试重新安装甚至更改$ cfg ['Servers'] [$ i] ['auth_type'] ='cookie';到$ cfg ['Servers'] [$ i] ['auth_type'] ='config';

1 个答案:

答案 0 :(得分:0)

根据您提供的信息,您没有以root用户身份登录:

用户:phpmyadmin @ localhost

因此,该用户phpmyadmin @ localhost没有创建数据库的权限。