Difficulty connecting to mysql database from java

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Brendan

    #1

    Difficulty connecting to mysql database from java

    Unable to connect to any hosts due to exception:
    java.security.A ccessControlExc eption: access denied
    (java.net.Socke tPermission localhost resolve)


    CAN ANYONE HELP??

    What is causing this error? is it a MYSQL or JAVA/JSP Problem, i cant
    seem to work this out ?
  • OneSolution

    #2
    Re: Difficulty connecting to mysql database from java

    You have an access control problem. Have you checked the access rights on
    the MySQL? In addition, you can catch the exception and examine it for a
    more detailed reason.


    "Brendan" <brendan@accada ccarocks.com> wrote in message
    news:14dfe0a5.0 401251923.3de56 577@posting.goo gle.com...[color=blue]
    > Unable to connect to any hosts due to exception:
    > java.security.A ccessControlExc eption: access denied
    > (java.net.Socke tPermission localhost resolve)
    >
    >
    > CAN ANYONE HELP??
    >
    > What is causing this error? is it a MYSQL or JAVA/JSP Problem, i cant
    > seem to work this out ?[/color]


    Comment

    • OneSolution

      #3
      Re: Difficulty connecting to mysql database from java

      You have an access control problem. Have you checked the access rights on
      the MySQL? In addition, you can catch the exception and examine it for a
      more detailed reason.


      "Brendan" <brendan@accada ccarocks.com> wrote in message
      news:14dfe0a5.0 401251923.3de56 577@posting.goo gle.com...[color=blue]
      > Unable to connect to any hosts due to exception:
      > java.security.A ccessControlExc eption: access denied
      > (java.net.Socke tPermission localhost resolve)
      >
      >
      > CAN ANYONE HELP??
      >
      > What is causing this error? is it a MYSQL or JAVA/JSP Problem, i cant
      > seem to work this out ?[/color]


      Comment

      • OneSolution

        #4
        Re: Difficulty connecting to mysql database from java

        You have an access control problem. Have you checked the access rights on
        the MySQL? In addition, you can catch the exception and examine it for a
        more detailed reason.


        "Brendan" <brendan@accada ccarocks.com> wrote in message
        news:14dfe0a5.0 401251923.3de56 577@posting.goo gle.com...[color=blue]
        > Unable to connect to any hosts due to exception:
        > java.security.A ccessControlExc eption: access denied
        > (java.net.Socke tPermission localhost resolve)
        >
        >
        > CAN ANYONE HELP??
        >
        > What is causing this error? is it a MYSQL or JAVA/JSP Problem, i cant
        > seem to work this out ?[/color]


        Comment

        Working...