Home > Database > Mysql Tutorial > mysql密码过期导致连接不上mysql_MySQL

mysql密码过期导致连接不上mysql_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:24:13
Original
1015 people have browsed it

bitsCN.com mysql密码过期了,今天遇到了连接mysql,总是连接不上去,
错误现象1
An attempt by a client to checkout a Connection has timed out
第一次出现连接超时错误,第一反应是去修改cpool.checkoutTimeout参数为18000,初始为500,结果还是错误,
在修改为36000,并且加大了c3p0连接数cpool.maxPoolSize=100

这个时候出现下面错误现象2
Connections could not be acquired from the underlying database!
一直没有定位出来,靠,突然想起,以前Oracle 11g的密码存在过期的问题,mysql会不会也有呢,试试,如何做不多写,见我的博客
http://blog.csdn.net/dracotianlong/article/details/8100235
修改完毕后,重启mysql和tomcat,搞定了。估计是虚拟机的原因,google了下,没有找到比较官方的说明。bitsCN.com

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template