免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 3723 | 回复: 15
打印 上一主题 下一主题

windows mysql 5.4可以导入 BSD mysql5.1么? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-03-28 08:51 |只看该作者 |倒序浏览
我在windows 2003 里mysql是5.4版本,我想导入BSD的mysql5.1可以实现么?windows里我用:mysqldump -h localhost -u root -p123456 www > d:\www2008-2-26.sql,got error:1016 can't open file 'ecs_vote.frm' (errno:24)when using lock TABLES,不为什么做不了我看网上的资料说是mysql存储引擎不一样,不知如何做备份呢?再就是过程能详细说一下好吗?谢谢啦~!

论坛徽章:
0
2 [报告]
发表于 2010-03-28 12:10 |只看该作者
这么多人看,也没回个话的?是不是问题太简单了啊,mysql没正了八经学过,所以...,前辈不要笑话我啊!谢谢啦,回个话,在你百忙之中抽万分之一的时间吧!:)

论坛徽章:
0
3 [报告]
发表于 2010-03-28 13:12 |只看该作者
innodb 存储引擎

论坛徽章:
0
4 [报告]
发表于 2010-03-28 16:56 |只看该作者
search : got error:1016    at the website: www.google.com

then you could get the anwser

change the open_files_limit variable to 8192


You need to drop table whois_online and recreate it. Please follow this instructions and you can fix it
1. Log on Cpanel
2. Click on MySQL databases
3. Click on phpMyAdmin ...
4. Select your MySQL database ...
5. Click on SQL ...
5. Paste this into the Box ... and click GO ...

DROP TABLE IF EXISTS whos_online;
CREATE TABLE whos_online (
customer_id int(11) default NULL,
full_name varchar(64) NOT NULL default '',
session_id varchar(12 NOT NULL default '',
ip_address varchar(15) NOT NULL default '',
time_entry varchar(14) NOT NULL default '',
time_last_click varchar(14) NOT NULL default '',
last_page_url varchar(64) NOT NULL default '',
http_referer VARCHAR(255) NOT NULL
) TYPE=MyISAM;

论坛徽章:
0
5 [报告]
发表于 2010-03-29 10:18 |只看该作者
现在发觉论坛人气真不行哦~~!

论坛徽章:
0
6 [报告]
发表于 2010-03-29 11:05 |只看该作者
请更改一下:
open_files_limit 这个变量的值。
如果你是默认是1024
可以更改为4096 :
  1. open_files_limit= 4096
复制代码
放置到[mysqld]或[mysql_safe]的配置段中。

然后重启一下MySQL在试一下。另外想了解一下你的你下面有多少个表?

论坛徽章:
0
7 [报告]
发表于 2010-03-31 00:04 |只看该作者
C:\Documents and Settings\Administrator>mysqldump -u root -p123456 --all-databas
e --skip-lock-tables > d:\all.sql
Error: Couldn't read status information for table sdb_dbver ()
mysqldump: Couldn't execute 'show create table `sdb_dbver`': Table 'a0731132400.
sdb_dbver' doesn't exist (1146)
加了 lock-tables这个参数,没那个提示了,不过还是有错误啊,观察生成的文件也挺大的,和data目录差不多,有没有压缩备份文件的方法?还有那个错误是什么原因啊?我用复制文件倒没什么问题,个人感觉复制不太放心。那位大侠好心帮帮忙,谢谢了先!

论坛徽章:
0
8 [报告]
发表于 2010-03-31 00:24 |只看该作者
没有答案,我顶贴一生!!!

论坛徽章:
0
9 [报告]
发表于 2010-03-31 15:09 |只看该作者
C:\Documents and Settings\Administrator>mysqldump -u root -p123456 --all-databas
e --skip-lock-tabl ...
xpban2006 发表于 2010-03-31 00:04
  1. mysqldump: Couldn't execute 'show create table `sdb_dbver`': Table 'a0731132400.
复制代码
很显然: sdb_dbver这个表不存在了。估计是被在数据库外进行删除了。
去数据库里确认一下这个表是不是存在,如果存在试一下能不能执行 show create table `sdb_dbver`;
如果不存在就在drop table sdb_dbver;一次吧。

论坛徽章:
0
10 [报告]
发表于 2010-03-31 15:17 |只看该作者
谢谢前辈的回复,我试下!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP