我在服务器中创建了子域,然后将所有文件本地移动到子域文件夹
- 根文件夹一个磁铁已经工作。
- 如何解决此错误
处理您的请求时出错
SQLSTATE [HY000] [1045]拒绝访问用户' root' @' localhost' (使用密码:否)
跟踪:
0 /home/public_html/lib/Zend/Db/Adapter/Pdo/Mysql.php(111):Zend_Db_Adapter_Pdo_Abstract-> _connect()
1 /home/public_html/rest_manager_list_sluglib/Varien/Db/Adapter/Pdo/Mysql.php(396):Zend_Db_Adapter_Pdo_Mysql-> _connect()
2 /home/public_html/rest_manager_list_sluglib/Zend/Db/Adapter/Abstract.php(460):Varien_Db_Adapter_Pdo_Mysql-> _connect()
3 /home/public_html/rest_manager_list_sluglib/Zend/Db/Adapter/Pdo/Abstract.php(238):Zend_Db_Adapter_Abstract->查询(' SET NAMES utf8',数组)
4 /home/public_html/rest_manager_list_sluglib/Varien/Db/Adapter/Pdo/Mysql.php(504):Zend_Db_Adapter_Pdo_Abstract->查询(' SET NAMES utf8',Array)
5 /home/public_html/rest_manager_list_slugapp/code/core/Mage/Core/Model/Resource.php(179):Varien_Db_Adapter_Pdo_Mysql->查询(' SET NAMES utf8')
6 /home/public_html/rest_manager_list_slugapp/code/core/Mage/Core/Model/Resource.php(110):Mage_Core_Model_Resource-> _newConnection(' pdo_mysql',Object(Mage_Core_Model_Config_Element))
7 /home/public_html/rest_manager_list_slugapp/code/local/Amasty/Fpc/Model/Fpc/Front.php(861):Mage_Core_Model_Resource-> getConnection(' core_read')
8 /home/public_html/rest_manager_list_slugapp/code/local/Amasty/Fpc/Model/Fpc/Front.php(97):Amasty_Fpc_Model_Fpc_Front-> getDbConfig(' web / url / use_sto ...&# 39)
9 /home/public_html/rest_manager_list_slugapp/code/core/Mage/Core/Model/Cache.php(703):Amasty_Fpc_Model_Fpc_Front-> __ construct()
10 /home/public_html/rest_manager_list_slugapp/code/core/Mage/Core/Model/Cache.php(685):Mage_Core_Model_Cache-> _getProcessor(' Amasty_Fpc_Mode ...')
11 /home/public_html/rest_manager_list_slugapp/code/core/Mage/Core/Model/App.php(351):Mage_Core_Model_Cache-> processRequest()
12 /home/public_html/rest_manager_list_slugapp/Mage.php(684):Mage_Core_Model_App-> run(Array)
13 /home/public_html/rest_manager_list_slugindex.php(83):Mage :: run('',' store')
14 {main}