找回密码

碧海潮声大学生网

楼主: 一头雾水
打印 上一主题 下一主题

求助!MYSQL

[复制链接]
11#
发表于 2006-9-15 11:09 | 只看该作者
登录之后,在“权限”那里增加管理员吧
12#
 楼主| 发表于 2006-9-15 12:41 | 只看该作者
  1. SQL 查询:
  2. 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'
  3. IDENTIFIED BY '******'
  4. WITH GRANT OPTION MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 ;
复制代码
创建管理员admin密码123456主机localhost.
13#
 楼主| 发表于 2006-9-15 12:44 | 只看该作者
  1. $cfg['Servers'][$i]['extension']    = 'mysql';    // The php MySQL extension to use ('mysql' or 'mysqli')
  2. $cfg['Servers'][$i]['compress']    = FALSE;     // Use compressed protocol for the MySQL connection
  3.                                    // (requires PHP >= 4.3.0)
  4. $cfg['Servers'][$i]['controluser']  = '';       // MySQL control user settings
  5.                                    // (this user must have read-only
  6. $cfg['Servers'][$i]['controlpass']  = '';       // access to the "mysql/user"
  7.                                    // and "mysql/db" tables).
  8.                                    // The controluser is also
  9.                                    // used for all relational
  10.                                    // features (pmadb)
  11. $cfg['Servers'][$i]['auth_type']    = 'http';    // Authentication method (config, http or cookie based)?
  12. $cfg['Servers'][$i]['user']       = 'admin';        // MySQL user
  13. $cfg['Servers'][$i]['password']    = '123456';        // MySQL password (only needed
  14.                                    // with 'config' auth_type)
  15. $cfg['Servers'][$i]['only_db']     = '';       // If set to a db-name, only
  16.                                    // this db is displayed in left frame
复制代码
config.inc.php密码用户方式改好
14#
 楼主| 发表于 2006-9-15 12:53 | 只看该作者
欢迎使用 phpMyAdmin 2.6.4-pl4


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

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
15#
 楼主| 发表于 2006-9-15 12:55 | 只看该作者
郁闷了,真是郁闷了。不知道怎么回事真的是郁闷
16#
发表于 2006-9-15 15:49 | 只看该作者
…………都这样了,怎么不用cookie模式呢?
http模式不喜欢
17#
 楼主| 发表于 2006-9-15 17:32 | 只看该作者
这个不是问题的关键,
关键是用什么都不能登陆
18#
发表于 2006-9-18 02:21 | 只看该作者
你不是已经能登录了吗?
19#
 楼主| 发表于 2006-9-18 11:59 | 只看该作者
只能是空用户名空密码而且是用config方式登陆,
这就是我发这个帖子的原来的问题啊。
20#
发表于 2006-9-18 13:20 | 只看该作者
登录之后,在“权限”里建立一个完全的权限用户,再用cookie登录行吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋| 碧海潮声大学生网  

Copyright © 2001-2013 Comsenz Inc.   All Rights Reserved.

Powered by Discuz! X3.2( 浙ICP备11026473号 )

快速回复 返回顶部 返回列表