Linux系统中MySQL 5.5.27编译安装历程_数据恢复神器

日期:2014-07-13 / 人气: / 来源:网络

MySQL 5.5.27安装与以往的MySQL有些不同,如下:
1、下载cmake
 tar
 ./configure
 make && make install
2、groupadd mysql
 useradd -g mysql mysql
 mkdir -pv /usr/local/mysql/data
3、tar mysql
 cd
 cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql - DMYSQL_DATADIR=/usr/local/mysql/data
 make && make install
 chown -R mysql:mysql /usr/local/mysql
 cp mysql-5.5.27/mysql.server /etc/init.d/mysqld
 chmod a x /etc/init.d/mysqld
 chkconfig --add mysqld
 chkconfig --level 35 mysqld on
 cp support-files/my-medium.cnf /etc/my.cnf
 cd /usr/local/mysql
 scripts/mysql_install_db --user=mysql
 service mysqld start
 netstat -nltp | grep :3306
 /usr/local/mysql/bin/mysql -uroot -p

MySQL 5.1 安装过程中报apply security setting错误的解决办法

Mysql安装错误apply security settings 解决方法The security settings could not be applied to the databasebecause the connection has failed w

MySQL数据库

作者:管理员




现在致电4006-2991-90 OR 查看更多联系方式 →

Go To Top 回顶部