Spring security and MySQL under CentOS
Posted
by
user223268
on Server Fault
See other posts from Server Fault
or by user223268
Published on 2014-06-01T18:35:00Z
Indexed on
2014/06/01
21:32 UTC
Read the original article
Hit count: 132
i'm trying to connect to MySQL using spring security, spring should access the database and check the user and pass using direct sql. the problem is when i use localhost to access my local database nothing happen no exceptions no any thing but login fails. if i changed the host of the server to one of my team machine IP address the program login successfully. the only deference is that i'm using CentOS 6.5 and my team is using Windows. how can i make sure i'm configuring MySQL correctly and what privileges should i grand to my users to be able to finish this. note: i'm a newcomer to linux and MySQL server administration.
© Server Fault or respective owner