( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKBase.class.php on line 114
Call Stack
#TimeMemoryFunctionLocation
10.0011415496{main}( ).../index.php:0
20.08884720864Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.500314251688Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.500414251632Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.500414252008Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.500414252008Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.500614252104Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.500914292024require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.505914589712GKTemplate->__construct( ).../component.php:31
100.513214759088GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.514014803944require_once( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKMenu.php' ).../helper.menu.php:19

( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKHandheld.php on line 76
Call Stack
#TimeMemoryFunctionLocation
10.0011415496{main}( ).../index.php:0
20.08884720864Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.500314251688Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.500414251632Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.500414252008Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.500414252008Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.500614252104Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.500914292024require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.505914589712GKTemplate->__construct( ).../component.php:31
100.516614931888GKTemplateMenu->getMenuType( ).../gk.framework.php:85
MYSQL5忘记密码后重置root密码
Logo
Print this page

MYSQL5忘记密码后重置root密码

系统:DEBIAN etch 4.0

MYSQL数 据库版本:5.0.27

(1)以 系统root权限登陆

(2)停止MYSQL服务器:
/etc/init.d/mysql stop

(3)跳过授权表执行MYSQL服务器:
mysqld_safe --skip-grant-tables --skip-networking &
(注:参数--skip-grant-tables为跳过授权表;--skip-networking为不监听TCP/IP连接)

(4)执行MYSQL客户端:
mysql

(5)使用mysql数据库
use mysql;

(6)更新root密码
update user set password=password('新密码') where user='root';

(7)关闭mysql服务器,用正常方试起动
/etc/init.d/mysql restart

Last modified onSaturday, 05 January 2013 13:21

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0010415976{main}( ).../index.php:0
20.10644721344Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.10644721344Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.350512449672Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.351512474256Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.352412529584Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.352612558408require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.362012993816K2ControllerItem->execute( ).../k2.php:64
90.362012993816K2ControllerItem->display( ).../BaseController.php:710
100.374813719016K2ControllerItem->display( ).../item.php:78
110.374813719016K2ControllerItem->display( ).../controller.php:19
120.380114115384Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.382414135752K2ViewItem->display( ).../ViewController.php:102
140.483717083520K2ViewItem->display( ).../view.html.php:742
150.483717083520K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.486317263720include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in 主机
  • Read 3610 times

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0010415976{main}( ).../index.php:0
20.10644721344Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.10644721344Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.350512449672Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.351512474256Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.352412529584Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.352612558408require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.362012993816K2ControllerItem->execute( ).../k2.php:64
90.362012993816K2ControllerItem->display( ).../BaseController.php:710
100.374813719016K2ControllerItem->display( ).../item.php:78
110.374813719016K2ControllerItem->display( ).../controller.php:19
120.380114115384Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.382414135752K2ViewItem->display( ).../ViewController.php:102
140.483717083520K2ViewItem->display( ).../view.html.php:742
150.483717083520K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.486317263720include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
Template Design © Joomla Templates | GavickPro. All rights reserved.