mysql数据库优化

数据库地址不能写localhost要用127.0.0.1

[mysqld]
skip-name-resolve #取消dns解析
skip-grant-tables#不需要密码
thread_concurrency=8#CPU合数*2

posted @ 2015-07-14 12:05  刘满blog  阅读(96)  评论(0编辑  收藏  举报