最新Mysql-5.1.35在RHEL5.3(CentOS5.3)编译安装步骤
来源:互联网 发布:蒙元 知乎 编辑:程序博客网 时间:2024/05/13 07:21
wget http://mysql.he.net/Downloads/MySQL-5.1/mysql-5.1.35.tar.gz
groupadd -g 6000 mysql
useradd -c "Mysql Server User Account " -g 6000 -u 6000 -s /sbin/nologin -M mysql
tar zxf mysql-5.1.35.tar.gz
cd mysql-5.1.35
./configure --prefix=/usr/local/mysql/ --bindir=/usr/bin/ --sbin=/usr/sbin/ --sysconfdir=/etc/ --libdir=/usr/lib/ --includedir=/usr/include/ --mandir=/usr/share/man/ --enable-assembler --enable-profiling --with-charset=gb2312 --with-extra-charsets=gb2312 --with-system-type=i686-redhat-linux-gnu --with-machine-type=i686-redhat-linux-gnu --with-server-suffix=-mysql --with-pthread --with-unix-socket-path=/tmp/mysql.sock --with-mysqld-user=mysql --with-zlib-dir=/usr/ --with-mysqld-ldflags=-all-static --with-client-ldflags=-all-static --with-low-memory --with-comment=compiled-by-WinLinKer --with-big-tables --with-mysqlmanager --with-plugins=all --with-embedded-server --with-embedded-privilege-control
make
make install
cd /usr/local/mysql
chown -R root.mysql .
cp share/mysql/my-huge.cnf /etc/my.cnf
cp share/mysql/mysql.server /etc/init.d/mysqld
chmod u+x /etc/init.d/mysqld
mysql_install_db --user=mysql
chkconfig --add mysqld
chkconfig --level 345 mysqld on
然后service mysqld start
mysqladmin -u root password pass (设置密码)
例如:mysqladmin -u root password 8Xi3o34k4OBpPFp
ok,就这么简单,希望各位安装顺利。
- 最新Mysql-5.1.35在RHEL5.3(CentOS5.3)编译安装步骤
- 最新Mysql-5.1.35在RHEL5.3(CentOS5.3)编译安装步骤
- RHEL5 CENTOS5上编译Android内核的步骤
- CentOS5 编译安装LNMP步骤
- 10个步骤在Centos5.3下成功安装oracle11g r2
- 在 CentOs5 上 安装 asterisk 的步骤
- centos5.3的yum安装Mysql
- centOs5.3 安装apache+tomcat+php+mysql
- CentOs5.3 安装apache+tomcat+php+mysql
- 在centos5.3下安装cacti软件
- RHEL5 安装 Oracle10g 步骤
- RHEL5.3使用CentOS5.3的更新源
- CENTOS5和rhel5安装google chrome
- 4.3. RHEL5.5/CENTOS5.5上安装
- rhel5/centos5下R8168网卡的安装
- CentOS5.1 Linux配置一台(LAMP)web服务器入门视频教程 - (3)在CentOS5.1上编译安装apache httpd-2.2.8视频入门演示教程
- centos5.3 安装 kscope
- centos5.3安装gcc
- gridview删除无效
- iphone 软解那点事 (二)
- Linux查看系统配置常用命令
- 企业管理系统部分代码
- 杀掉windows下的线程
- 最新Mysql-5.1.35在RHEL5.3(CentOS5.3)编译安装步骤
- 一进系统就黑屏的故障原因分析
- 如何在44B0板子的RAM中运行uclinux
- 你十二,你二十
- ODI 集成SKM 配置Web服务
- C++中 public,protected, private 访问标号小结
- 通过优化CSS代码 减小对系统资源的占用
- WPF中,怎么在后台代码进行数据绑定
- java native 接口的使用