欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

wampmysqld: unknown variable 'default-character-_MySQL

程序员文章站 2022-06-15 12:49:34
...
启动WAMSERVER的时候,mysql报如下的错误:

140618 23:07:57 [Note] Plugin 'FEDERATED' is disabled.140618 23:07:57 InnoDB: The InnoDB memory heap is disabled140618 23:07:57 InnoDB: Mutexes and rw_locks use Windows interlocked functions140618 23:07:57 InnoDB: Compressed tables use zlib 1.2.3140618 23:07:57 InnoDB: Initializing buffer pool, size = 8.0M140618 23:07:57 InnoDB: Completed initialization of buffer pool140618 23:07:57 InnoDB: highest supported file format is Barracuda.140618 23:07:57  InnoDB: Waiting for the background threads to start140618 23:07:58 InnoDB: 1.1.8 started; log sequence number 1595675140618 23:07:58 [ERROR] wampmysqld: unknown variable 'default-character-set=gbk'140618 23:07:58 [ERROR] Aborting
我这边的问题是因为C:/Windows/my.ini文件存在,删除
如何查看mysql日志:

wampmysqld: unknown variable 'default-character-_MySQL