Mysql start virtualmin debian

设置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
  • Published in Debian
  • Read 2497 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
back to top