注册 登录  
 加关注
查看详情
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

{'coding': 'life'}

          I want to be a geek

 
 
 

日志

 
 
 
 

mysql5.6 m7 安装  

2012-04-08 13:45:53|  分类: 数据库 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

下载mysql m7的源码包,

http://dev.mysql.com/downloads/mysql/6.0.html#downloads

http://download.softagency.net/MySQL/Downloads/MySQL-5.6/

我下载的  mysql-5.6.5-m8-freebsd8.0-x86_64.tar.gz

tar 解压后进入解压后的msql目录 

vi INSTALL-BINARY 

然后跟着里面的说明一路执行,就完成了mysql5.6测试版的安装

参考:

遇到的问题:

  1. .Starting MySQL….. ERROR! The server quit without updating PID file faild
            解决方法可以看看这两篇文章
     2. /usr/local/mysql//bin/my_print_defaults: not found Neither host 'xxxx' nor 'localhost' could be looked up with
        这个有点麻烦,我没搞定,只好换了一个版本就ok了(换成 mysql-5.6.4-m7-linux2.6-x86_64.tar.gz
        If you are using a libc-based system (instead of a glibc2 system), you will probably get

some problems with hostname resolving and getpwnam() with the binary release. (This is

because glibc unfortunately depends on some external libraries to resolve hostnames and

getpwent() , even when compiled with -static). In this case you probably get the following

error message when you run mysql_install_db:

Sorry, the host 'xxxx' could not be looked up

or the following error when you try to run mysqld with the --user option:

getpwnam: No such file or directory

You can solve this problem in one of the following ways:

 Get a MySQL source distribution (an RPM or the tar.gz distribution) and install this

instead.

 Execute mysql_install_db --force; This will not execute the resolveip test in

mysql_install_db. The downside is that you can't use host names in the grant ta-

bles; you must use IP numbers instead (except for localhost). If you are using an old

MySQL release that doesn't support --force, you have to remove the resolveip test

in mysql_install with an editor.

 Start mysqld with su instead of using --user.

The Linux-Intel binary and RPM releases of MySQL are con gured for the highest possible

speed. We are always trying to use the fastest stable compiler available.
   3.mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: YES)'
       从新设置下秘密就ok拉
      mysqladmin -u root -h localhost password 'password'

  评论这张
 
阅读(2565)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018