Results 1 to 3 of 3
  1. #1
    jpphelan is offline Member
    Join Date
    Jul 2012
    Posts
    1
    Rep Power
    0

    Default 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,

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default Re: JDBC and adding new users

    Moved from New to Java

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,820
    Rep Power
    19

    Default 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.

    ** This space for rent **

Similar Threads

  1. Multiple Users
    By peiceonly in forum Threads and Synchronization
    Replies: 5
    Last Post: 06-09-2008, 09:17 AM
  2. Replies: 0
    Last Post: 04-01-2008, 10:17 AM
  3. Replies: 0
    Last Post: 09-28-2007, 12:56 PM
  4. Accounts of users
    By Eric in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 06-27-2007, 04:20 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •