码迷,mamicode.com
首页 >  
搜索关键字:take skip    ( 2689个结果
mac 修改mysql 密码, navicat 连接失败原因
1、cd /usr/local/mysql/bin/?2、sudo su输入之后会要求输入你的计算机密码,输入的时候是什么都不显示的,输完后回车3、 ./mysqld_safe --skip-grant-tables &这一步的作用是跨过权限验证 4、./mysql -u root 用另一窗口以ro ...
分类:数据库   时间:2017-06-05 18:00:31    阅读次数:285
mysql主从数据库错误处理
方法一:忽略错误后,继续同步 该方法适用于主从库数据相差不大,或者要求数据可以不完全统一的情况,数据要求不严格的情况 解决: stop slave; #表示跳过一步错误,后面的数字可变set global sql_slave_skip_counter =1;start slave; 之后再用mysq ...
分类:数据库   时间:2017-06-05 16:49:10    阅读次数:281
mongo数据排序和分页显示
数据排序 使用sort()1 升序-1 降序自然排序 数据插入的顺序$natural 分页显示skip(n):表示跨过多少数据行limit(n):取出的数据行的个数限制 ...
分类:编程语言   时间:2017-06-05 10:36:12    阅读次数:251
mysql数据库基础命令结尾
27使用mysqladmin关闭数据库mysqladmin-uroot-poldboy123shutdownps-ef|grepmysql28mysql忘记密码重新修改密码过程:mysql>mysqld_safe--skip-grant-tables--user=mysql--defaults-file=/data/3306/my.cnf>/dev/null&->mysqld_safe--skip-grant-tables--user=mysq..
分类:数据库   时间:2017-06-04 22:57:55    阅读次数:325
SELinux 宽容模式(permissive) 强制模式(enforcing) 关闭(disabled)
SElinux共有3中状态。1、selinux的配置文件:/etc/selinux/config# This file controls the state of SELinux on the system. 3 # SELINUX= can take one of these three valu ...
分类:系统相关   时间:2017-06-04 11:48:40    阅读次数:317
Lecture Notes: Macros
原论文链接失效。特在这里保存一份 http://www.apl.jhu.edu/~hall/Lisp-Notes/Macros.html Lisp functions take Lisp values as input and return Lisp values. They are execute ...
分类:系统相关   时间:2017-06-03 22:33:59    阅读次数:450
centos修改mysql密码或者进入mysql后解决Access denied for user ''@'localhost' to database 'mysql错误
原因是MySQL的密码有问题 用mysql匿名用户可以进入数据库,但是看不见mysql数据库. 解决办法:具体操作步骤:关闭mysql:# service mysqld stop然后:# mysqld_safe --skip-grant-tables开启另一个终端并启动mysql:# service ...
分类:数据库   时间:2017-06-03 12:45:13    阅读次数:151
[LintCode] Coins in a Line II
There are n coins with different value in a line. Two players take turns to take one or two coins from left side until there are no more coins left. T ...
分类:其他好文   时间:2017-06-03 09:50:40    阅读次数:232
linux自动挂载远程网盘到本地
sudo vim /etc/fstab 添加如下内容 服务器端是windows共享目录,或者是linux用samba共享的目录 关于默认权限设置 If you are the only user take possession of the mounted partition://<ip-addre ...
分类:系统相关   时间:2017-06-02 23:01:04    阅读次数:255
MySQL 登录问题
1、问题一:使用update mysql.user set password='root'改动密码后,不能登录 解决:操作过程例如以下。 (1)关闭mysql(杀掉mysqld进程),然后使用命令: mysqld --skip-grant-tables (2)启动数据库,就能够正常连接了 (3)接着 ...
分类:数据库   时间:2017-06-02 20:25:42    阅读次数:272
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!