Results 1 to 3 of 3
Thread: JDBC and adding new users
- 07-20-2012, 07:43 PM #1
Member
- Join Date
- Jul 2012
- Posts
- 1
- Rep Power
- 0
JDBC and adding new users
I have built a program which connects remotely to my MySQL database, but cannot find somewhere to add new users on different IPs, without connecting to Mysql through my terminal shell. I was hoping there would be some way to add users to mysql.user in the JDBC platform. Can anyone help me with this?
Thanks,
- 07-20-2012, 09:46 PM #2
Re: JDBC and adding new users
Moved from New to Java
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 07-23-2012, 10:30 AM #3
Moderator
- Join Date
- Apr 2009
- Posts
- 10,477
- Rep Power
- 16
Re: JDBC and adding new users
JDBC is simply a protocol for talking to a particular database, in your case MySQL.
If MySQL is set to refuse connections from an ip address there's nothing anything else can do.
Be a bit of a security hole if you could remotely override that and add the ip address of the location you are remotely overriding from.Please do not ask for code as refusal often offends.
Similar Threads
-
Multiple Users
By peiceonly in forum Threads and SynchronizationReplies: 5Last Post: 06-09-2008, 09:17 AM -
How to use JDBC Template classes to control basic JDBC processing and error handling
By Java Tip in forum Java TipReplies: 0Last Post: 04-01-2008, 10:17 AM -
How to use JDBC Template classes to control basic JDBC processing and error handling
By JavaBean in forum Java TipReplies: 0Last Post: 09-28-2007, 12:56 PM -
Accounts of users
By Eric in forum Enterprise JavaBeans (EJB)Replies: 1Last Post: 06-27-2007, 04:20 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks