mysql - Change default collation/character set -


i know has been answered before solutions found not apply system (i've tested them).

i want change default collation in mysql. seems setted latin1_swedish_ci , want change utf8_general_ci.

the returning solution on net putting default_character_set directive in my.ini default value of utf8, reason gives error.

this error. hope can me.

130502 15:45:17 [note] plugin 'federated' disabled. 130502 15:45:17 innodb: innodb memory heap disabled 130502 15:45:17 innodb: mutexes , rw_locks use windows interlocked functions 130502 15:45:17 innodb: compressed tables use zlib 1.2.3 130502 15:45:17 innodb: initializing buffer pool, size = 128.0m 130502 15:45:17 innodb: completed initialization of buffer pool 130502 15:45:17 innodb: highest supported file format barracuda. 130502 15:45:17  innodb: waiting background threads start 130502 15:45:18 innodb: 1.1.8 started; log sequence number 2472751 130502 15:45:18 [error] wampmysqld: unknown variable 'default-character-set=utf8' 130502 15:45:18 [error] aborting  130502 15:45:18  innodb: starting shutdown... 130502 15:45:19  innodb: shutdown completed; log sequence number 2472751 130502 15:45:19 [note] wampmysqld: shutdown complete 

try:

character-set-server = utf8 collation-server = utf8_general_ci 

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -