作者: Drcede 出自: http://www.linuxdiyf.com 1.mysql启动同步: 在文件/etc/rc.d/rc.local中添加如下两行: echo "Starting mysql Server" /etc/rc.d/init.d/mysql.server start 2.mysql关闭同步: 在文件/etc/rc.d/rc.halt开头插入如下两行: echo "Stopping mysql Server" /etc/rc.d/init.d/mysql.server stop 说明: 1.文件/etc/rc.d/init.d/mysql.server是从mysql的安装子目录support-files下拷贝过来的; 2.由于mysql.se...
最近我的网站服务器打开网页后无数据,想要重新启动mysql,却无法重启.如下图 不知道这是什么问题!经常性的出现这个问题,只有重新启动服务器才能正常!但是ps 看见mysql有很多进程.如果单启动mysql,提示是ok了.但是还是无法连接到mysql,就是没有正常启动嘛.不知道为什么关闭不了mysql. [ 本帖最后由 yuyinyuyin664 于 2009-6-2 21:12 编辑 ]
我试图关闭mysql但关闭不了 #/etc/rc.d/init.d/mysqld status mysqld (pid 1622) is running... #/etc/rc.d/init.d/mysqld stop Stopping mysql: [FAILED] #/etc/rc.d/init.d/mysqld stop starting mysql: [OK] 重起机器时系统关闭mysql也失败 什么原因? 急在线等
mysql版本:mysql5.0.41 操作系统:redhat as4 x86 u3 configure参数: ./configure --prefix=/usr/local/mysql \ --localstatedir=/usr/local/mysql/data \ --with-unix-socket-path=/usr/local/mysql/var/mysql.sock \ --with-mysqld-user=mysql \ --without-debug \ --with-extra-charsets=all \ --enable-assembler \ --without-isam \ --without-innodb \ --with-pthread \ --enable-thread-safe-client \ --with-client-l...