2013年6月11日

摘要: yum install -y gcc gcc-c++configure: error: APR not found . Please read the documentationhttp://blog.chinaunix.net/uid-26729093-id-4315346.htmlwget ht... 阅读全文
posted @ 2013-06-11 14:10 hxl2009 阅读(137) 评论(0) 推荐(0) 编辑
 
摘要: 1.假设已经有mysql-5.5.10.tar.gz以及cmake-2.8.4.tar.gz两个源文件(1)先安装cmake(mysql5.5以后是通过cmake来编译的)[root@ rhel5 local]#tar -zxv -f cmake-2.8.4.tar.gz[root@ rhel5 local]#cd cmake-2.8.4[root@ rhel5 cmake-2.8.4]#./configure[root@ rhel5 cmake-2.8.4]#make[root@ rhel5 cmake-2.8.4]#make install(2)创建mysql的安装目录及数据库存放目录[r 阅读全文
posted @ 2013-06-11 11:04 hxl2009 阅读(170) 评论(0) 推荐(0) 编辑
 
摘要: 方法一:# /etc/init.d/mysql stop# mysqld_safe --user=mysql --skip-grant-tables --skip-networking &# mysql -u root mysqlmysql> UPDATE user SET Password=PASSWORD('newpassword') where USER='root';mysql> FLUSH PRIVILEGES;mysql> quit# /etc/init.d/mysql restart# mysql -uroot -pEnt 阅读全文
posted @ 2013-06-11 11:01 hxl2009 阅读(131) 评论(0) 推荐(0) 编辑