phpMyAdmin问题~~~~急(php相关)

2天前 (12-11 11:22)阅读1回复0
xx
xx
  • 管理员
  • 注册排名6
  • 经验值86730
  • 级别管理员
  • 主题17346
  • 回复0
楼主

  解压要保留原始的目次构造,不克不及全数放到一个目次里,如我的 p在scrpits下而非在根目次。

p是设置装备摆设数据库的文件,而非安拆软件。

复造libraries的 p到phpmyadmin并改名为 p是对的,然后要根据你的数据库调整下列语句:

$cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address

$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port

$cfg['Servers'][$i]['socket'] = ''; // Path to the socket - leave blank for default socket

$cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket')

$cfg['Servers'][$i]['extension'] = 'mysqli'; // 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'] = 'config'; // Authentication method (config, )?

$cfg['Servers'][$i]['user'] = 'root'; // MySQL user

$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed

// with 'config' auth_type)。

最初施行根目次下的 p即可

需要看一下错误提醒信息

0
回帖

phpMyAdmin问题~~~~急(php相关) 期待您的回复!

取消