- 博客(16)
- 收藏
- 关注
原创 mysql重置密码
在MySQL安装后 出现“Access denied for user ‘root’@‘localhost’ (using password: YES)”错误。mysql>更新 update user set password=password(‘新密码’) WHERE User=‘root’;1.找到安装目录D:\MySQL\MySQL Server 5.5下的my.ini文件,并用记事本打开。运行之后最后去掉my.ini中的skip-grant-tables,重启mysqld即可。
2023-07-06 21:36:08
198
1
原创 在新机器中安装同版本数据库
删除(C:\ProgramData\MySQL\MySQL Server 5.5\data)目录下的ib_logfile1和 ib_logfile1 文件,把旧机器中的数据库直接复制到新机器(我的是这个目录C:\ProgramData\MySQL\MySQL Server 5.5\data)替换 ibdata1文件(新机器的D:\Data的ibdata1文件用旧机器的ibdata1替换)(安装 过程就不再描述,网上有很多案例)
2023-06-25 11:26:56
177
1
原创 mysql的update语句里嵌套select时同表操作问题
报错信息You can’t specify target table ‘sc’ for update in FROM clause原sql语句update sc set score = (select avg(sc.score) from teacher t, sc, course where t.tname = ‘叶平’ and t.t = course.tand course.c = sc.c) where c = (select sc.c from teacher t, sc, course
2022-03-25 19:02:10
2373
原创 session token cookie讲解
session token cookie讲解https://www.cnblogs.com/moyand/p/9047978.html#1708424735
2020-05-27 11:00:17
115
转载 TCP/IP协议与Http协议的区别
TPC/IP协议是传输层协议,主要解决数据如何在网络中传输,而HTTP是应用层协议,主要解决如何包装数据。关于TCP/IP和HTTP协议的关系,网络有一段比较容易理解的介绍:“我们在传输数据时,可以只使用(传输层)TCP/IP协议,但是那样的话,如果没有应用层,便无法识别数据内容,如果想要使传输的数据有意义,则必须使用到应用层协议,应用层协议有很多,比如HTTP、FTP、TELNET等,也可以自...
2019-12-17 22:45:32
164
原创 java碎片知识1
entry由于Map中存放的元素均为键值对,故每一个键值对必然存在一个映射关系。Map中采用Entry内部类来表示一个映射项,映射项包含Key和ValueMap.Entry里面包含getKey()和getValue()方法Set<Entry<T,V>> entrySet()该方法返回值就是这个map中各个键值对映射关系的集合。可使用它对map进行遍历。setA...
2019-12-17 22:30:11
280
原创 数据导入索引库出错
java.lang.RuntimeException: org.springframework.dao.DataIntegrityViolationException: ### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: C...
2019-10-27 10:52:05
484
原创 solrCloud集群出错
严重: Servlet.service() for servlet [taotao-manager-web] in context with path [] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: org.apache.solr.client.solrj....
2019-10-23 09:55:57
209
原创 错误2
严重: Servlet.service() for servlet [taotao-manager-web] in context with path [] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: org.apache.solr.client.solrj....
2019-10-07 18:26:23
950
1
原创 错误
十月 01, 2019 6:50:55 下午 org.apache.jasper.compiler.TldLocationsCache tldScanJar信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list...
2019-10-02 17:06:54
698
原创 Linux系统下solr问题
INFO zookeeper.ZookeeperRegistry - [DUBBO] Destroy unsubscribe url admin://192.168.25.128/com.taotao.service.ItemCatService?category=providers,consumers,routers,configurators&check=false&clas...
2019-10-02 17:01:32
240
原创 安装Git问题
Cannot complete the install because one or more required items could not be found. Software being installed: Java implementation of Git - optional LFS support 5.4.2.201908231537-r (org.eclipse.jgit....
2019-09-14 15:52:50
337
原创 商城之bug03 java.lang.ClassNotFoundException: com.github.pagehelper.Page
ClassRealm[plugin>org.apache.tomcat.maven:tomcat7-maven-plugin:2.2, parent: sun.misc.Launcher$AppClassLoader@5736ab79]:java.lang.ClassNotFoundException: com.github.pagehelper.Page报错,但是不影响实际使用。...
2019-09-14 09:20:44
171
原创 商城之bug02Error creating bean with name 'testController': Injection of autowired dependencies failed
ERROR DispatcherServlet:502 - Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testController': Injection of autowired dependencies...
2019-09-11 19:49:13
536
1
原创 商城 之bug01[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project taotao-manager-web: Failed to clean project: Failed to delete C:\Users\Administrator\...
2019-09-11 19:15:22
132
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人