- 博客(10)
- 收藏
- 关注
原创 MySql快速修改密码方法
前言初次修改密码和忘记密码都可以使用,修改完后下载一个Navicat for MySQL 第三方工具,就可以在工具里面进行修改密码。第一步:打开DOS窗口,转到mysql的bin目录下:mysqld --skip-grant-tables第二步:再开一个新的DOS窗口输入:mysql如果成功的话会出现 mysql>第三步:set password for root@localhost=password('你要设置的密码');第四步:...
2021-01-31 01:08:55 102
原创 MySql修改密码时出现:ERROR 1290 (HY000): The MySQL server is running with the--skip-grant-tables option
问题描述:MySql修改密码时出现:ERROR 1290 (HY000): The MySQL server is running with the--skip-grant-tables option解决方法:第一步:flush privileges;第二步:set password for root@localhost=password('你要设置的密码');...
2021-01-27 03:38:29 3491
原创 MySql服务不见了解决方法
问题描述:MySql服务莫名其妙不见了。解决方法:5.0版本:开始->运行->cmd,进入mysql安装的bin目录下:mysqld-nt.exe -installService successfully installed.这个时候刷新服务列表mysql就出现了,启动就可以了,或者可以直接在cmd中做如下操作启动mysql:net start mysqlMySQL 服务已经启动成功。-----------------------------------.
2021-01-27 02:55:19 412
原创 通配符的匹配很全面, 但无法找到元素 ‘aop:config‘ 的声明。
问题描述:Spring配置AOP报错:Caused by: org.xml.sax.SAXParseException; lineNumber: 19; columnNumber: 17; cvc-complex-type.2.4.c: 通配符的匹配很全面, 但无法找到元素 'aop:config' 的声明。解决方法:导入以下约束条件:<beans xmlns="http://www.springframework.org/schema/beans" xmlns:x.
2021-01-23 02:09:14 332
原创 Spring AOP依赖包
前言maven依赖添加如下: <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>1.9.4</version> </dependency>看完如果对...
2021-01-23 01:15:02 1607 1
原创 Spring之Bean的自动装配
前言自动装配是Spring满足Bean依赖的一种方式。Spring中的三种装配方式在xml中显示配置 在java中显示配置 隐式的自动装配bean
2021-01-19 17:04:43 123
原创 java.lang.IllegalStateException: Cannot convert value of type ‘java.lang.String‘ to required type
问题描述:Caused by: java.lang.IllegalStateException: Cannot convert value of type 'java.lang.String' to required type 'cn.Cat' for property 'cat': no matching editors or conversion strategy found解决方法:ref:用来给一个对象的属性设置值因为另外2个是对象,所以使用ref 而不是value。...
2021-01-19 16:25:27 3391 2
原创 Spring之集合(数组、Map、List、Set)注入方法
Spring之集合(数组、Map、List、Set)注入方法前言Spring之集合(数组、Map、List、Set)注入方法的步骤创建类,定义数组,list,map,set类型属性,并且生成对应的set、get方法。 在spring配置文件中进行配置。demo如下:地址类:public class Address{ private String address; public void setAddress(String address) { .
2021-01-18 13:22:58 958 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人