博客
关于我
一些技术博客
阅读量:625 次
发布时间:2019-03-13

本文共 973 字,大约阅读时间需要 3 分钟。

一.关于事务传播特性的文章:

这篇事务讲的很好:

这篇博客是讲异常与事务的关系的:

dubbo的介绍:

qq邮箱503解决方案:

 

二.一些实用性的解决方案:

数据库忘记密码:

忘记root密码1、关闭正在运行的MySQL服务。2、打开DOS窗口,转到mysql\bin目录。3、输入mysqld --skip-grant-tables 回车。 --skip-grant-tables 的意思是启动MySQL服务的时候跳过权限表认证。4、再开一个DOS窗口(因为刚才那个DOS窗口已经不能动了),输入mysql回车,如果成功,将出现MySQL提示符 >。6、连接权限数据库: use mysql; 。7、改密码:update user set password=password("root") where user="root";(别忘了最后加分号) 。8、刷新权限(必须步骤):flush privileges; 9、退出  quit。重启mysql服务,使用用户名root和刚才设置的新密码root登录就ok了;
最近在玩mysql, 期间碰到这个问题 - ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'。原因很清楚,mysql数据库的user表里,存在用户名为空的账户即匿名账户,导致登录的时候是虽然用的是root,但实际是匿名登录的,通过错误提示里的''@'localhost'可以看出来。  网上有一些linux下的解决方案。但我是在windows碰到的。解决方法如下:1. 修改my.ini.在my.ini的[mysqld]字段加入,目的是为了登录mysql不需要密码: skip-grant-tables2. 重启mysql 服务3. 新开起一个终端输入   mysql -u root mysql   mysql> delete from user where USER='';   mysql> FLUSH PRIVILEGES;//记得要这句话,否则如果关闭先前的终端,又会出现原来的错误   mysql>exit;如何找到mysql的进程id,打开mysql源目录的data文件夹有一个***.pid,即可找到

  

转载地址:http://eqeaz.baihongyu.com/

你可能感兴趣的文章
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
查看>>
no connection could be made because the target machine actively refused it.问题解决
查看>>
No Datastore Session bound to thread, and configuration does not allow creation of non-transactional
查看>>
No fallbackFactory instance of type class com.ruoyi---SpringCloud Alibaba_若依微服务框架改造---工作笔记005
查看>>
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalanc
查看>>
No mapping found for HTTP request with URI [/...] in DispatcherServlet with name ...的解决方法
查看>>
No mapping found for HTTP request with URI [/logout.do] in DispatcherServlet with name 'springmvc'
查看>>
No module named 'crispy_forms'等使用pycharm开发
查看>>
No module named 'pandads'
查看>>
No module named cv2
查看>>
No module named tensorboard.main在安装tensorboardX的时候遇到的问题
查看>>
No module named ‘MySQLdb‘错误解决No module named ‘MySQLdb‘错误解决
查看>>
No new migrations found. Your system is up-to-date.
查看>>
No qualifying bean of type XXX found for dependency XXX.
查看>>
No qualifying bean of type ‘com.netflix.discovery.AbstractDiscoveryClientOptionalArgs<?>‘ available
查看>>
No resource identifier found for attribute 'srcCompat' in package的解决办法
查看>>
no session found for current thread
查看>>
No static resource favicon.ico.
查看>>
no such file or directory AndroidManifest.xml
查看>>
No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
查看>>