笨笨啊 发表于 2006-9-15 11:09

登录之后,在“权限”那里增加管理员吧

一头雾水 发表于 2006-9-15 12:41

SQL 查询:
GRANT SELECT , INSERT , UPDATE , DELETE , CREATE , DROP , RELOAD , SHUTDOWN , PROCESS , FILE , INDEX , ALTER , SHOW DATABASES , SUPER , CREATE TEMPORARY TABLES , LOCK TABLES , REPLICATION SLAVE , REPLICATION CLIENT ON * . * TO 'admin'@'localhost'
IDENTIFIED BY '******'
WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 ;
创建管理员admin密码123456主机localhost.

一头雾水 发表于 2006-9-15 12:44

$cfg['Servers'][$i]['extension']    = 'mysql';    // The php MySQL extension to use ('mysql' or 'mysqli')
$cfg['Servers'][$i]['compress']    = FALSE;   // Use compressed protocol for the MySQL connection
                                 // (requires PHP >= 4.3.0)
$cfg['Servers'][$i]['controluser']= '';       // MySQL control user settings
                                 // (this user must have read-only
$cfg['Servers'][$i]['controlpass']= '';       // access to the "mysql/user"
                                 // and "mysql/db" tables).
                                 // The controluser is also
                                 // used for all relational
                                 // features (pmadb)
$cfg['Servers'][$i]['auth_type']    = 'http';    // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user']       = 'admin';      // MySQL user
$cfg['Servers'][$i]['password']    = '123456';      // MySQL password (only needed
                                 // with 'config' auth_type)
$cfg['Servers'][$i]['only_db']   = '';       // If set to a db-name, only
                                 // this db is displayed in left frame
config.inc.php密码用户方式改好

一头雾水 发表于 2006-9-15 12:53

欢迎使用 phpMyAdmin 2.6.4-pl4


用户名/密码错误,访问被拒绝。

一头雾水 发表于 2006-9-15 12:55

郁闷了,真是郁闷了。不知道怎么回事真的是郁闷

笨笨啊 发表于 2006-9-15 15:49

…………都这样了,怎么不用cookie模式呢?
http模式不喜欢

一头雾水 发表于 2006-9-15 17:32

这个不是问题的关键,
关键是用什么都不能登陆

笨笨啊 发表于 2006-9-18 02:21

你不是已经能登录了吗?

一头雾水 发表于 2006-9-18 11:59

只能是空用户名空密码而且是用config方式登陆,
这就是我发这个帖子的原来的问题啊。

笨笨啊 发表于 2006-9-18 13:20

登录之后,在“权限”里建立一个完全的权限用户,再用cookie登录行吗?
页: 1 [2] 3
查看完整版本: 求助!MYSQL