jqkyp 发表于 2018-10-3 12:18:40

mysql安装使用CMAKE-lfknight

  # Preconfiguration setup
  shell> groupadd mysql
  shell> useradd -r -g mysql mysql
  # Beginning of source-build specific instructions
  shell> tar zxvf mysql-VERSION.tar.gz
  shell> cd mysql-VERSION
  shell> cmake .
  shell> make
  shell> make install
  # End of source-build specific instructions
  # Postinstallation setup
  shell> cd /usr/local/mysql
  shell> chown -R mysql .
  shell> chgrp -R mysql .
  shell> scripts/mysql_install_db --user=mysql
  shell> chown -R root .
  shell> chown -R mysql data
  # Next command is optional
  shell> cp support-files/my-medium.cnf /etc/my.cnf
  shell> bin/mysqld_safe --user=mysql &
  # Next command is optional
  shell> cp support-files/mysql.server /etc/init.d/mysql.server 

页: [1]
查看完整版本: mysql安装使用CMAKE-lfknight