Mysql start virtualmin debian
- font size decrease font size increase font size
- Print Email
设置MYSQL
首先拷贝mysql.server到/etc/init.d目录下命名为mysql
# cp /自己的安装目录/mysql/share/mysql/mysql.server /etc/init.d/mysql
然后进入/etc/rc2.d目录,这是debian默认的启动级别。建立连接指向/etc/init.d/mysql
# cd /etc/rc2.d
# ln -s /etc/init.d/mysql S20mysql
重新启动系统后,mysql就自动启动了。
chown mysql:mysql /var/run/mysqld
Last modified onSaturday, 05 January 2013 13:17
( ! ) 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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0005 | 412544 | {main}( ) | .../index.php:0 |
2 | 0.0769 | 4262464 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0769 | 4262464 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.2757 | 11453352 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.2763 | 11477632 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.2770 | 11532960 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.2772 | 11560360 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.2848 | 11959992 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.2848 | 11959992 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.2941 | 12610696 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.2941 | 12610696 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.2985 | 12981736 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.3005 | 13002104 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.3913 | 15798464 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.3913 | 15798464 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.3935 | 15971400 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in Debian
- Read 2460 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 | ||||
# | Time | Memory | Function | Location |
1 | 0.0005 | 412544 | {main}( ) | .../index.php:0 |
2 | 0.0769 | 4262464 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.0769 | 4262464 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.2757 | 11453352 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.2763 | 11477632 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.2770 | 11532960 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.2772 | 11560360 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.2848 | 11959992 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.2848 | 11959992 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.2941 | 12610696 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.2941 | 12610696 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.2985 | 12981736 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.3005 | 13002104 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.3913 | 15798464 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.3913 | 15798464 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.3935 | 15971400 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |