现在我连原来装的是什么版本的mysql都不懂,请问怎么办?原来的mysql的数据库全在,data文件夹也完整,但密码什么的都不懂,现在怎么办啊,请各位帮下忙!

解决方案 »

  1.   

    copy the contents in data folder(except mysql folder) of old mysql installation to newer mysql installation data folder. Use mysql root account to manage the accounts to access those databases.As far as you know the root pass of new installation, things will be easier for you.Hope it helps.//Ali
      

  2.   

    这个英文看得半懂不懂啊……把原mysql的data文件夹复制到新装的mysql下并使用新的账户名来访问数据。是不是这个意思啊?
      

  3.   

    还有个问题是我不懂原来的mysql使用的是哪个版本的……
      

  4.   

    我记得把某个目录copy过去就行(但只能是这个目录,其他不要复制),mysql4至mysql5.0通用,之后版本不详
      

  5.   

    以前的data目录除了ib_logXX文件和mysql目录以外其它的可以拷贝到新安装的mysql的data目录下便。用一下命令可以进mysqlmysql -h localhost -u root -pXXXXX where XXXX 是root用户的密码。
      

  6.   

    直接把原来的data整个文件夹拷贝到新的安装目录中覆盖现有的data目录,不需要密码什么的
      

  7.   

        data目录下,用户建立的一个数据库对应一个文件夹,直接拷贝用户建立的数据库就OK了。mysql文件夹是系统的,不用拷贝,新装的时候,你要记得数据库是放在哪个文件夹下的!对应拷贝过去就OK了!mysql默认数据库存放路径是C盘下/用户一大窜字符下。但是可以更改my.ini里的datadir路径。
      

  8.   

    copy the contents in data folder(except mysql folder) of old mysql installation to newer mysql installation data folder. Use mysql root account to manage the accounts to access those databases.
    复制(除了MySQL的文件夹)的内容, 在旧的MySQL数据文件夹中安装新的MySQL。使用MySQL root帐户来管理帐户来访问这些数据库。