Windows 平台上的 InnoDB
来源:互联网 发布:华为成都研究所云计算 编辑:程序博客网 时间:2024/05/08 07:09
出错详解:
E:/LAMP/mysql/bin>mysqld-max-nt --standalone --console
InnoDB: Error: you must set the log group home dir in my.cnf the
InnoDB: same as log arch dir.
020410 23:52:53 Can't init databases
解释:两个目录必须相同!
E:/LAMP/mysql/bin>mysqld-max-nt --standalone --console
InnoDB: Operating system error number 3 in a file operation.
InnoDB: See http://www.innodb.com/ibman.html for installation help.
InnoDB: The error means the system cannot find the path specified.
InnoDB: In installation you must create directories yourself, InnoDB
InnoDB: does not create them.
InnoDB: File name d:/data/mysqldbf/ibdata/ibdata1
InnoDB: Cannot continue operation.
解释:目录没有建立,必须手工用 mkdir 先!
E:/LAMP/mysql/bin>mysqld-max-nt --standalone --console
InnoDB: The first specified data file d:/data/mysqldbf/ibdata/ibdata1 did not ex
ist:
InnoDB: a new database to be created!
020410 23:54:44 InnoDB: Setting file d:/data/mysqldbf/ibdata/ibdata1 size to 30
0 MB
InnoDB: Database physically writes the file full: wait...
020410 23:55:11 InnoDB: Log file c:/iblogs/ib_logfile0 did not exist: new to be
created
InnoDB: Setting log file c:/iblogs/ib_logfile0 size to 30 MB
InnoDB: Database physically writes the file full: wait...
020410 23:55:14 InnoDB: Log file c:/iblogs/ib_logfile1 did not exist: new to be
created
InnoDB: Setting log file c:/iblogs/ib_logfile1 size to 30 MB
InnoDB: Database physically writes the file full: wait...
020410 23:55:17 InnoDB: Log file c:/iblogs/ib_logfile2 did not exist: new to be
created
InnoDB: Setting log file c:/iblogs/ib_logfile2 size to 30 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
020410 23:55:27 InnoDB: Started
020410 23:55:28 mysqld-max-nt: Table 'mysql.func' doesn't exist
020410 23:55:28 Can't open mysql/func table
mysqld-max-nt: ready for connections
解释:成功了!
把原先的 MyISAM 表全部转换成了 InnoDB :
1.mysqldump --opt dbname>dbname.sql
2.mysqladmin drop dbname
3.mysqladmin create dbname
4.修改 dbname.sql ,首行加
set autocommit=0;
末行加
commit;
并把所有的 type=myisam 修改为 type=innodb 。
5.mysql dbname < dbname.sql
6.重新建立相关的索引,以提高性能。
- Windows 平台上的 InnoDB
- windows平台上的调试
- windows平台上的数据库访问技术
- SVN在Windows平台上的配置
- SVN在windows平台上的配置
- Windows上的GNU开发平台:MinGW
- Windows Phone平台上的Socket通信
- windows平台上的NDK开发
- Windows平台上的Git客户端
- caffe在windows平台上的编译
- windows平台是上的sublime编辑远程linux平台上的文件
- 基于Windows平台上的Cygwin的安装
- windows平台上的一个内存池的实现
- 在Windows平台上安装SGI版的OpenGL
- Eclipse-COBOL程序员在WINDOWS平台上的IDE
- 标准配置的Windows平台上潜在可用屏幕区域
- [引用〕Windows上的GNU开发平台:MinGW
- 【总结】Apache在windows平台上的出错
- ArrayList的Adapter引出的Array转ArrayList的思考
- Latex个人指南-引用文献
- Access和SQL Server做底层数据库的区别
- SMTP判断邮箱是否存在,检查email地址是否真实存在
- 分享自己编写的一个很简单的网站访问跟踪程序
- Windows 平台上的 InnoDB
- 微软Silverlight
- 又见山寨漂移
- 从大图片中截取图片 BitmapData copyPixels Rectangle
- interface的隐含项
- vimtutor 中文版
- Head First C# 中文版 图文皆译 第五章 封装 page202
- sql语句中三种连接的区别
- 了解应用程序类型