RE: JDeveloper/MySql: 'access denied' (dan)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I'm trying to develop a web application using JDeveloper/MySql...
> My 'try-out' servlet ends here:
> conn =
> DriverManager.getConnection("jdbc:mysql://localhost/eyes?user=me&password=
> pwd");
> saying
> "Access denied for user 'me'@'localhost.localdomain' (using password:
> YES) 11045 228000"
> user me has been granted 'all' and the database eyes is accessible via
> the commandline.

Dan, it looks like the authentication might fail because of a bad hostname
definition.

How have you defined the host information for the MySQL-user "me"? Try to
use the local loopback IP (127.0.0.1) instead of any hostname in the
user-table.

-m-

-- 
http://www.markusvirtanen.com/



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux