2007-04-19

mysql标准安装

关键字: mysql
cpp 代码
  1. shell> groupadd mysql   
  2. shell> useradd -g mysql mysql   
  3. shell> tar zxvf mysql-VERSION.tar.gz   
  4. shell> cd mysql-VERSION   
  5. shell> ./configure --prefix=/usr/local/mysql   
  6. shell> make   
  7. shell> make install   
  8. shell> cp support-files/my-medium.cnf /etc/my.cnf   
  9. shell> cd /usr/local/mysql   
  10. shell> bin/mysql_install_db --user=mysql   
  11. shell> chown -R root  .   
  12. shell> chown -R mysql var   
  13. shell> chgrp -R mysql .   
  14. shell> bin/mysqld_safe --user=mysql &  
评论
发表评论

您还没有登录,请登录后发表评论

yezi
搜索本博客
我的相册
76988825-a3a2-35e4-b837-75437d40ffca-thumb
IMG_7195
共 46 张
最近加入圈子
存档
最新评论