相关疑难解决方法(0)

我在Windows电脑上找不到my.cnf

我的电脑是Windows XP.

我需要找到my.cnf将所有权限返回给root用户.我不小心删除了root用户的一些权限.我仍然有密码,以root用户身份登录MySQL是没有问题的.但我无法改变一张桌子.

mysql privileges configuration

93
推荐指数
5
解决办法
19万
查看次数

在Ubuntu 15中无法为Mysql max-connections增加max_open_files

我正在运行这个版本的Mysql

Ver 14.14 Distrib 5.6.24, for debian-linux-gnu (x86_64)
Run Code Online (Sandbox Code Playgroud)

在这个版本的Ubuntu上

Distributor ID: Ubuntu
Description:    Ubuntu 15.04
Release:    15.04
Codename:   vivid
Run Code Online (Sandbox Code Playgroud)

这是我为Mysql设置的配置:

key_buffer_size     = 16M
max_allowed_packet  = 16M
thread_stack        = 192K
thread_cache_size       = 8
innodb_buffer_pool_size=20G
innodb_log_buffer_size=16M
tmp_table_size = 32M
max_heap_table_size = 32M
open-files-limit=4510
max_connections=500
myisam-recover         = BACKUP
query_cache_type=1
query_cache_limit   = 32M
query_cache_size        = 32M
Run Code Online (Sandbox Code Playgroud)

这些是我在启动MYSQL时遇到的警告:

2015-06-17 17:28:53 26720 [Warning] Buffered warning: Could not increase number 
of max_open_files to more than 1024 (request: 4510)

2015-06-17 17:28:53 26720 [Warning] Buffered warning: Changed limits: max_connections: …
Run Code Online (Sandbox Code Playgroud)

mysql ubuntu performance

28
推荐指数
3
解决办法
3万
查看次数

标签 统计

mysql ×2

configuration ×1

performance ×1

privileges ×1

ubuntu ×1