04 2022 档案
摘要:1、主库创建同步账号 #创建复制账号 CREATE User 'sync1' @'%' identified by 'Sync1'; #授权复制账号权限 GRANT REPLICATION SLAVE ON *.* TO 'sync1'@'%' identified by 'Sync1';#http
阅读全文
摘要:查看被锁表: select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT' spid 锁表
阅读全文
摘要:autowired WebSecurityConfigurerAdapter 中注册 过滤器时报下面错误: Could not autowired. Not beans of "XXXFilter" type found. 解决方法: 是在过滤器类上加一个 @Component Could not
阅读全文
摘要:如果没有测试目录的按这个文档新建:https://www.csdn.net/tags/NtzaggxsNDA0NTYtYmxvZwO0O0OO0O0O.html 主要: 1、File->project Structer 点击文件,打开项目结构2、Modules–>Sources–>main右键–>N
阅读全文
摘要:cnpm install --save jsencrypt index.html <script src="../node_modules/jsencrypt/bin/jsencrypt.min.js"></script>
阅读全文
摘要:CopyProject.txt 文件中为要复制的项目名目录 项目名目录1 项目名目录2 EXCLUDE.txt 排除有文件目录 binobj 一键复制多项目源码.bat @echo off Setlocal enabledelayedexpansion @rem 下面变更可以修改 set srcDi
阅读全文
摘要:对比两表数据一样升序不一样的列 declare @tablename_mask varchar(50) set @tablename_mask='A表' declare @tableid int print @tablename_mask select @tableid=id from sysobj
阅读全文
摘要:注意:server_name 多个域名时用空格隔开,否则可能报“could not build server_names_hash, you should increase server_names_hash_bucket_size”(两个域名使用443端口时) server { listen 80
阅读全文
摘要:windows: 1、建一个Bat文件如下。 2、设置定时执行Bat方法:https://www.cnblogs.com/bmwchampion/archive/2010/08/21/autotimingexcutejob.html @echo off set basedir=%~dp0 set l
阅读全文
摘要:-- 查询表注释 select table_schema, table_name, table_comment from information_schema.tables where table_schema = '数据库名' and table_name = '表名'; -- 查询表字段注释 s
阅读全文