mysql (on suse linux) 系统命令笔记
</SPA N>
mysql on suse linux 系统命令笔记 </SPA N>
SLES 11
设置 mysql 服务自动启动状态
chkconfig mysql on
chkconfig mysql off
添加 / 删除 mysql 服务
/sbin/chkconfig --del mysql</SPA N>
/sbin/chkconfig --add mysql</SPA N>
检查 mysql 版本
mysql -V</SPA N>
mysqld -V</SPA N>
启停 mysql</SPA N>
servic mysql start</SPA N>
servic mysql stop</SPA N>
servic mysql restart</SPA N>
修改 root 密码 </SPA N>
mysqladmin -uroot password <new_password>