mysql
Serizable
这个作者很懒,什么都没留下…
展开
-
Out of resources when opening file ‘./xxx.MYD’ (Errcode: 24)解决方法
今天朋友向我反映网站出现错误:Out of resources when opening file './xxx.MYD' (Errcode: 24)错误是因为打开的文件数超过了my.cnf的--open-files-limit。open-files-limit选项无法在mysql命令行 直接修改,必须在my.cnf中设定. 如果你要是不设置的话,他会取系统ulimit -n的值.出错之时转载 2016-12-27 16:42:42 · 846 阅读 · 0 评论 -
linux系统安装mysql
到mysql官网下载mysql编译好的二进制安装包,在下载页面Select Platform:选项选择linux-generic,然后把页面拉到底部,64位系统下载Linux - Generic (glibc 2.5) (x86, 64-bit),32位系统下载Linux - Generic (glibc 2.5) (x86, 32-bit) 解压32位安装包: 进入安装包所在目录,执行命令:t转载 2017-06-13 09:33:18 · 385 阅读 · 0 评论 -
mysql常用命令
1 登录mysql # mysql -u用户名 -p密码 2 创建用户(要添加三个权限 ‘localhost’ ‘%’ ‘127.0.0.1’) 1)mysql>create user ‘用户名’@’localhost’ IDENTIFIED BY ‘密码’; 2)mysql>insert into mysql.user(Host,User,Password) va原创 2017-06-13 10:54:01 · 342 阅读 · 0 评论