但是进入它的首页就显示:
欢迎使用 phpMyAdmin 2.9.2
Probably reason of this is that you did not create configuration file. You might want to use setup script to create one.
错误
MySQL 返回:
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
于是我根据提示点了setup script,只进行了添加一项操作,操作完成保存后又用上面的地址进行访问,还是老样子,再进入setup script竟然没有保存我开始的设置,我是第一次接触PHP,在百度,谷歌上搜索了都是些发现这个问题的,没有解决这个问题的贴子,请各位高手帮帮忙吧,很急~~~先谢谢了!
18 个解决方案
#1
pma需要配置,
#2
如何配置。请讲仔细点!谢谢
#3
http://www.njhoo.com/viewthread.php?tid=462
WIN32+APACHE2+PHP5+MYSQL5 一键搞定-套装
WIN32+APACHE2+PHP5+MYSQL5 一键搞定-套装
#4
老胡发的东西确实不错,不过还得解决下我所提到的问题啊~~
#5
UP
#6
配置一下你的mysql相关信息
#7
打开config.inc.php这里需要配置你数据库的用户名和密码
#8
拷贝libraries目录下config.default.php 到你的phpmyadmin的根目录下,文件名改为config.inc.php,在里面设置你mysql的用户名和密码,将$cfg['Servers'][$i]['auth_type']一项改为http就可以了
#9
在phpMyAdmin\config.inc.php中配置一下,试试呢!
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$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]['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)
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = '你的用户名'; // MySQL user
$cfg['Servers'][$i]['password'] = '你的密码'; // MySQL password (only needed
// with 'config' auth_type)
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$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]['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)
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = '你的用户名'; // MySQL user
$cfg['Servers'][$i]['password'] = '你的密码'; // MySQL password (only needed
// with 'config' auth_type)
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only
#10
phpMyAdmin 2.9.2
需要将解压后的根目录中增加一个config.inc.php文件,你可以直接复制config.sample.inc.php(好像是这个文件名,主要不记得sample的位置),然后在这个文件中修改一下:
$cfg['Servers'][$i]['controluser'] = 'pmausr';
$cfg['Servers'][$i]['controlpass'] = 'pmapass';
ps:我是最近重装系统才下了个phpMyAdmin 2.9.2
其实说明文档有详细说明,不过是e文的。有问题仔细看一下该文档
需要将解压后的根目录中增加一个config.inc.php文件,你可以直接复制config.sample.inc.php(好像是这个文件名,主要不记得sample的位置),然后在这个文件中修改一下:
$cfg['Servers'][$i]['controluser'] = 'pmausr';
$cfg['Servers'][$i]['controlpass'] = 'pmapass';
ps:我是最近重装系统才下了个phpMyAdmin 2.9.2
其实说明文档有详细说明,不过是e文的。有问题仔细看一下该文档
#11
<?php
/* $Id: config.sample.inc.php,v 2.1.2.2 2006/08/28 08:14:14 nijel Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:
/**
* phpMyAdmin sample configuration, you can use it as base for
* manual configuration. For easier setup you can use scripts/setup.php
*
* All directives are explained in Documentation.html and on phpMyAdmin
* wiki <http://wiki.cihar.com>.
*/
/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
/*
* Servers configuration
*/
$i = 0;
/*
* First server
*/
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';//config, http or cookie
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = 'root'; // MySQL password (only needed // with 'config' auth_type)
$cfg['blowfish_secret'] = 'localhost';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = 'root';
/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
/*
* End of servers configuration
*/
/*
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
?>
/* $Id: config.sample.inc.php,v 2.1.2.2 2006/08/28 08:14:14 nijel Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:
/**
* phpMyAdmin sample configuration, you can use it as base for
* manual configuration. For easier setup you can use scripts/setup.php
*
* All directives are explained in Documentation.html and on phpMyAdmin
* wiki <http://wiki.cihar.com>.
*/
/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
/*
* Servers configuration
*/
$i = 0;
/*
* First server
*/
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';//config, http or cookie
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = 'root'; // MySQL password (only needed // with 'config' auth_type)
$cfg['blowfish_secret'] = 'localhost';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = 'root';
/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
/*
* End of servers configuration
*/
/*
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
?>
#12
在出现错误提示的界面直接有一个script的连接的,进入点add的按钮,有一个配置信息,填上点执行,再找到一个configure选download,保存时把文件名中的[1]去掉,重新打开phpmyadmin就可以用了
#13
下载VertrigoServ包含一下东东
Packages:
* Apache 2.0.59
* PHP 5.2.0
* Mysql 5.0.27
* SQLite 3.3.8
* PhpMyAdmin 2.9.1.1
* SQLiteManager 1.2.0
* ZendOptimizer 3.2.0
Packages:
* Apache 2.0.59
* PHP 5.2.0
* Mysql 5.0.27
* SQLite 3.3.8
* PhpMyAdmin 2.9.1.1
* SQLiteManager 1.2.0
* ZendOptimizer 3.2.0
#14
EMS MySQL Manager
用这个,比phpMyAdmin更方便、强大
用这个,比phpMyAdmin更方便、强大
#15
phpserv三合一,不用配置
#16
MySQL 返回:
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
这个破烂玩意,真他妈麻烦!
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
这个破烂玩意,真他妈麻烦!
#17
EMS MySQL Manager是界面操作。个人感觉不错。
#18
方法一:拷贝libraries目录下config.default.php 到你的phpmyadmin的根目录下,文件名改为config.inc.php,在里面设置你mysql的用户名和密码,将$cfg['Servers'][$i]['auth_type']一项改为http就可以了
方法二:使用你用过的那个脚本。先在/scripts目录下建立一个新文件config.inc.php,给可写得权限。然后重新在script那个设置页面里设置。这样设置的结果可以保存在那个新文件里。设置完毕后点保存。接着将这个文件拷贝回上一级即PMA的根目录中。一切OK。
以上两种方法均可以在PMA自带的DOC文档中找到,英文不难。
方法二:使用你用过的那个脚本。先在/scripts目录下建立一个新文件config.inc.php,给可写得权限。然后重新在script那个设置页面里设置。这样设置的结果可以保存在那个新文件里。设置完毕后点保存。接着将这个文件拷贝回上一级即PMA的根目录中。一切OK。
以上两种方法均可以在PMA自带的DOC文档中找到,英文不难。
#1
pma需要配置,
#2
如何配置。请讲仔细点!谢谢
#3
http://www.njhoo.com/viewthread.php?tid=462
WIN32+APACHE2+PHP5+MYSQL5 一键搞定-套装
WIN32+APACHE2+PHP5+MYSQL5 一键搞定-套装
#4
老胡发的东西确实不错,不过还得解决下我所提到的问题啊~~
#5
UP
#6
配置一下你的mysql相关信息
#7
打开config.inc.php这里需要配置你数据库的用户名和密码
#8
拷贝libraries目录下config.default.php 到你的phpmyadmin的根目录下,文件名改为config.inc.php,在里面设置你mysql的用户名和密码,将$cfg['Servers'][$i]['auth_type']一项改为http就可以了
#9
在phpMyAdmin\config.inc.php中配置一下,试试呢!
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$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]['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)
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = '你的用户名'; // MySQL user
$cfg['Servers'][$i]['password'] = '你的密码'; // MySQL password (only needed
// with 'config' auth_type)
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only
$cfg['Servers'][$i]['host'] = '127.0.0.1';
$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]['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)
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = '你的用户名'; // MySQL user
$cfg['Servers'][$i]['password'] = '你的密码'; // MySQL password (only needed
// with 'config' auth_type)
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only
#10
phpMyAdmin 2.9.2
需要将解压后的根目录中增加一个config.inc.php文件,你可以直接复制config.sample.inc.php(好像是这个文件名,主要不记得sample的位置),然后在这个文件中修改一下:
$cfg['Servers'][$i]['controluser'] = 'pmausr';
$cfg['Servers'][$i]['controlpass'] = 'pmapass';
ps:我是最近重装系统才下了个phpMyAdmin 2.9.2
其实说明文档有详细说明,不过是e文的。有问题仔细看一下该文档
需要将解压后的根目录中增加一个config.inc.php文件,你可以直接复制config.sample.inc.php(好像是这个文件名,主要不记得sample的位置),然后在这个文件中修改一下:
$cfg['Servers'][$i]['controluser'] = 'pmausr';
$cfg['Servers'][$i]['controlpass'] = 'pmapass';
ps:我是最近重装系统才下了个phpMyAdmin 2.9.2
其实说明文档有详细说明,不过是e文的。有问题仔细看一下该文档
#11
<?php
/* $Id: config.sample.inc.php,v 2.1.2.2 2006/08/28 08:14:14 nijel Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:
/**
* phpMyAdmin sample configuration, you can use it as base for
* manual configuration. For easier setup you can use scripts/setup.php
*
* All directives are explained in Documentation.html and on phpMyAdmin
* wiki <http://wiki.cihar.com>.
*/
/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
/*
* Servers configuration
*/
$i = 0;
/*
* First server
*/
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';//config, http or cookie
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = 'root'; // MySQL password (only needed // with 'config' auth_type)
$cfg['blowfish_secret'] = 'localhost';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = 'root';
/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
/*
* End of servers configuration
*/
/*
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
?>
/* $Id: config.sample.inc.php,v 2.1.2.2 2006/08/28 08:14:14 nijel Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:
/**
* phpMyAdmin sample configuration, you can use it as base for
* manual configuration. For easier setup you can use scripts/setup.php
*
* All directives are explained in Documentation.html and on phpMyAdmin
* wiki <http://wiki.cihar.com>.
*/
/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
/*
* Servers configuration
*/
$i = 0;
/*
* First server
*/
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';//config, http or cookie
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = 'root'; // MySQL password (only needed // with 'config' auth_type)
$cfg['blowfish_secret'] = 'localhost';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysqli if your server has it */
$cfg['Servers'][$i]['extension'] = 'mysql';
/* User for advanced features */
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = 'root';
/* Advanced phpMyAdmin features */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
/*
* End of servers configuration
*/
/*
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
?>
#12
在出现错误提示的界面直接有一个script的连接的,进入点add的按钮,有一个配置信息,填上点执行,再找到一个configure选download,保存时把文件名中的[1]去掉,重新打开phpmyadmin就可以用了
#13
下载VertrigoServ包含一下东东
Packages:
* Apache 2.0.59
* PHP 5.2.0
* Mysql 5.0.27
* SQLite 3.3.8
* PhpMyAdmin 2.9.1.1
* SQLiteManager 1.2.0
* ZendOptimizer 3.2.0
Packages:
* Apache 2.0.59
* PHP 5.2.0
* Mysql 5.0.27
* SQLite 3.3.8
* PhpMyAdmin 2.9.1.1
* SQLiteManager 1.2.0
* ZendOptimizer 3.2.0
#14
EMS MySQL Manager
用这个,比phpMyAdmin更方便、强大
用这个,比phpMyAdmin更方便、强大
#15
phpserv三合一,不用配置
#16
MySQL 返回:
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
这个破烂玩意,真他妈麻烦!
#1045 - Access denied for user 'root'@'localhost' (using password: NO)
这个破烂玩意,真他妈麻烦!
#17
EMS MySQL Manager是界面操作。个人感觉不错。
#18
方法一:拷贝libraries目录下config.default.php 到你的phpmyadmin的根目录下,文件名改为config.inc.php,在里面设置你mysql的用户名和密码,将$cfg['Servers'][$i]['auth_type']一项改为http就可以了
方法二:使用你用过的那个脚本。先在/scripts目录下建立一个新文件config.inc.php,给可写得权限。然后重新在script那个设置页面里设置。这样设置的结果可以保存在那个新文件里。设置完毕后点保存。接着将这个文件拷贝回上一级即PMA的根目录中。一切OK。
以上两种方法均可以在PMA自带的DOC文档中找到,英文不难。
方法二:使用你用过的那个脚本。先在/scripts目录下建立一个新文件config.inc.php,给可写得权限。然后重新在script那个设置页面里设置。这样设置的结果可以保存在那个新文件里。设置完毕后点保存。接着将这个文件拷贝回上一级即PMA的根目录中。一切OK。
以上两种方法均可以在PMA自带的DOC文档中找到,英文不难。