mysql登录错误mysqladmin:connecttoserverat‘localhost‘failederror:‘Accessdeniedforuser‘root‘@‘localhost‘(usingpassword:YES)‘无法修改密码用servicemysqldstopmysqld_safe--skip-grant-tables&输入mysql-uroot-p回车进入>usemysql;>updateusersetpassword=PASSW..
分类:
数据库 时间:
2015-09-07 13:05:40
阅读次数:
189
文档:IfyouacquireatablelockexplicitlywithLOCKTABLES,youcanrequestaREADLOCALlockratherthanaREADlocktoenableothersessionstoperformconcurrentinsertswhileyouhavethetablelocked.ToperformmanyINSERTandSELECToperationsonatablereal_tablewhenconcurrentinsertsarenotp..
分类:
其他好文 时间:
2015-09-05 23:51:44
阅读次数:
197
生死看淡不服就淦,这才是人生!=============================以下是最小生成树+并查集======================================【HDU】1213 How Many Tables 基础并查集★1272 小希的迷宫 基础并查集★1325&&p...
分类:
其他好文 时间:
2015-09-05 00:01:42
阅读次数:
324
获取表select table_name from user_tables; //当前用户的表select table_name from all_tables; //所有用户的表select table_name from dba_tables; //包括系统表select table_name ...
分类:
数据库 时间:
2015-09-04 14:14:17
阅读次数:
184
今天要求将部分表数据导出提供的exp导出脚本如下:USERID=x/x@x
BUFFER=102400
ROWS=Y
LOG=T_DAYLOG_CALLBYSERVICE.log
FILE=T_DAYLOG_CALLBYSERVICE.dmp
tables=T_DAYLOG_CALLBYSERVICE
query="wherelogdatebetweento_date(‘20150810‘,‘YYYYMMDD‘)andto_date(‘20150828‘,‘YYYY..
分类:
其他好文 时间:
2015-09-01 18:33:47
阅读次数:
168
1.首先停止mysql/etc/init.d/mysqldstop2.使用--skip-grant-table启动mysql,忽略授权登陆验证。mysqld_safe--skip-grant-tables--user=mysql&mysql-uroot-p<==登录时空密码。提示:在启动时加--skip-grant-tables参数,表示忽略授权表验证。这样就进去了,不需要密码进..
分类:
数据库 时间:
2015-09-01 17:01:11
阅读次数:
288
MySQL 的mysqldump备份来自《mysql技术内幕 innodb存储引擎》--single-transaction:只对innodb表有效--lock-tables:对MyISAM表使用,但是对于innodb表不需要用这个参数,用single-transaction选项即可,但是数据库下既...
分类:
数据库 时间:
2015-09-01 01:27:04
阅读次数:
214
1、mysql5.7中分为2类:临时表空间回滚段和普通回滚段。
2、mysql5.6中没有区分。
As of
MySQL 5.7.2, 32 undo logs are reserved for use by temporary tables and are hosted in the temporary table tablespace (ibtmp1).
To allocat...
分类:
数据库 时间:
2015-08-31 23:46:44
阅读次数:
265
Here are some suggestions for when to partition a table:Tables greater than 2 GB should always be considered as candidates for partitioning.Tables con...
分类:
数据库 时间:
2015-08-31 14:53:38
阅读次数:
314
首先停止所有mysql服务进程打开第一个cmd窗口,进入mysql的bin目录执行以下命令#mysqld --skip-grant-tables注意执行后此时(cmd窗口已经不能继续使用。我们重新打开一个cmd窗口)打开第二个cmd窗口,进入mysql的bin目录执行以下命令#mysql#use m...
分类:
数据库 时间:
2015-08-30 19:20:45
阅读次数:
165