• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error access MySQL  RSS feed

 
Fernando Skackauskas
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Guys,

A have the following problem:

I need to access a MySQL 5 database through the PHP language and the Java language.

When access using PHP does not occur any error.

But when accessing using Java, the following error message occurs:

java.sql.SQLException: Access denied for user 'autbio.com'@'187.84.232.228' (using password: YES)

I do not understand the cause of this problem using Java.

Thanks,

Fernando

 
Knute Snortum
Sheriff
Posts: 4279
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The error message is saying that either your username or your password or both are wrong.
 
Paul Clapham
Sheriff
Posts: 22829
43
Eclipse IDE Firefox Browser MySQL Database
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, when you configure users and passwords in MySQL, you have to specify what addresses the users can connect from. (Frequently people put the code for "all addresses" in that column but there could be cases where you want to restrict a user to signing on from, say, only one particular machine.)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!