mysql no rote to host

izj 2012-09-12 01:30:25


我有一个J2EE的WEB项目,数据库是MYSQL, 几个月前运行的还好好的,
今天跑的时候报mysql no rote to host 的错误。。

1。我单独写了一个测试类连接mysql 。 连接成功。但整个项目还是跑不起来。
2。修改过mysql 的my.ini配置文件,将timeout设置为30天,项目还是跑不起来。
3。重启mysql服务还是不行。

哎。。。我怀疑是mysql 长时间不用导致的。。但试了3。又好像不是。。
无解中。。。哪位高手帮我解答阿。。


PS:若实在没解决,那就只能暴力点儿了,重装mysql。。
但还是想知道为什么,可惜自己能力有限阿。。

...全文
108 1 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
izj 2012-09-12
  • 打赏
  • 举报
回复
版主给点力阿....自己顶一哈
Oracle Core: Essential Internals for DBAs and Developers Jonathan Lewis (Author) <> Paperback: 280 pages Publisher: Apress; 1 edition (November 23, 2011) Language: English ISBN-10: 1430239549 ISBN-13: 978-1430239543 <> Oracle Core: Essential Internals for DBAs and Developers by Jonathan Lewis provides just the essential information about Oracle Database internals that every database administrator needs for troubleshooting—no more, no less. Oracle Database seems complex on the surface. However, its extensive feature set is really built upon upon a core infrastructure resulting from sound architectural decisions made very early on that have stood the test of time. This core infrastructure manages transactions and the ability to commit and roll back changes, protects the integrity of the database, enables backup and recovery, and allows for scalability to thousands of users all accessing the same data. Most performance, backup, and recovery problems that database administrators face on a daily basis can easily be identified through understanding the essential core of Oracle Database architecture that Lewis describes in this book. * Provides proven content from a world-renowned performance and troubleshooting expert * Emphasizes the significance of internals knowledge to rapid identification of database performance problems * Covers the core essentials and does not waste your time with esoterica What you’ll learn * Oracle's core architectural foundations * How much overhead is reasonable * How to recognize when you're doing too much work * How to predict bottlenecks and why they will happen * How to minimise contention and locking * Why concurrency can slow things down significantly Who this book is for Oracle Core: Essential Internals for DBAs and Developers is aimed at database administrators ready to move beyond the beginning stage of doing work by rote towards the mastery stage, in which knowledge of what needs to be done comes not from a set of recipe-style instructions, but rather from the intimate knowledge and understanding of the system to be managed. Experienced database administrators will also find the book useful in solidifying their knowledge and filling in any missing pieces of the Oracle Database puzzle. Table of Contents 1. Getting Started... 2. Redo and Undo 3. Transactions and Consistency 4. Locks and Latches 5. Caches and Copies 6. Writing and Recovery 7. Parsing and Optimizing 8. RAC and Ruin <> http://www.amazon.com/dp/product/1430239549

81,117

社区成员

发帖
与我相关
我的任务
社区描述
Java Web 开发
社区管理员
  • Web 开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧