随笔分类 -  LAMP

摘要:Mysql./configure --prefix=/usr/local/mysql(注意/configure前有“.”,是用来检测你的安装平台的目标特征的,prefix是安装路径)#make(编译程序)(此处等待时间较长,不要关闭编辑器)#make install(安装程序)#/usr/local/mysql/bin/mysql_install_db --user=root(初始化数据库,用户mysql)#cp support-files/my-medium.cnf /etc/my.cnf(将MYSQL配置文档复制到/etc目录下保存为my.cnf,如果问是否覆盖原文件,输入“yes&quo 阅读全文
posted @ 2013-07-05 10:35 l851654152 阅读(254) 评论(0) 推荐(0)