现象:

在Linux环境下,运行JAVA程序,在连接字符串中配置数据库服务器地址为localhost,用户名密码正确,连接时出错:

java.sql.SQLException: Access denied for user 'root'@'127.0.0.1' (using password: YES)'.

通过命令行连接正常


原因:

我们配置mysql数据库时,配置skip-name-resolve,mysql连接将不允许存在主机名,因为配置文件限制了域名解析

解决办法:

1) 更改配置文件,取消skip-name-resolve后重启mysql;

2) 使用IP地址做为host进行连接;

本日志由 flyinweb 于 2009-07-28 18:58:22 发表到 数据库技术 中,目前已经被浏览 269 次,评论 0 次;

作者添加了以下标签: mysqlAccess denied

Using ReiserFS with Linux

An alternative, advanced file system for the adventurous

Summary:  Take a look at the ext2 (second extended file system), ext3 (third extended file system), and Reiser4 file systems and discover how to create your own Reiser4 file system. The most commonly used file system, ext2, is a traditional UNIX®-style file system that doesn't mix well with modern hard drive sizes. The ext3 file system adds journalling, but not much else. If you want something really advanced, you might want to check out the current Reiser4 file system.

本日志由 flyinweb 于 2009-07-28 12:58:29 发表到 Linux 中,目前已经被浏览 293 次,评论 0 次;

作者添加了以下标签: ReiserFSLinux文件系统

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文

两种安装方式

官方链接http://zh-cn.broadcom.com/support/ethernet_nic/netxtremeii.php(官方驱动的名字偶尔会改)

本日志由 flyinweb 于 2009-07-28 09:36:52 发表到 Linux 中,目前已经被浏览 987 次,评论 0 次;

作者添加了以下标签: R410网卡驱动

首页只显示了部分日志内容,要查看日志的全部内容请阅读全文