Results 1 to 2 of 2
  1. #1
    Anandt88 is offline Member
    Join Date
    Jun 2010
    Posts
    9
    Rep Power
    0

    Default Error while connecting to mysql server

    "MYSQL Error Number 1045"

    This is the error i am getting while trying to connect to the server

  2. #2
    Sno's Avatar
    Sno
    Sno is offline Senior Member
    Join Date
    Apr 2010
    Posts
    196
    Rep Power
    4

    Default

    Do you know what this error means?

    Normally this is a situation where the user you created doesn't have the permission to access mysql.

    try
    Java Code:
    GRANT ALL
    ON *.*
    TO root@'%' identified by 'password';
    :rolleyes: ~ Sno ~ :rolleyes:
    '-~ B.S. Computer Science ~-'

Similar Threads

  1. Problem connecting to mysql database
    By Kelly in forum JDBC
    Replies: 18
    Last Post: 07-22-2010, 06:40 AM
  2. error in connecting to gmail server
    By nyk976 in forum Networking
    Replies: 2
    Last Post: 03-10-2010, 02:36 PM
  3. Connecting a MySQL DB through Eclipse
    By mitty in forum New To Java
    Replies: 3
    Last Post: 02-01-2010, 09:22 AM
  4. problem in connecting to mysql database
    By nancyv in forum Java Servlet
    Replies: 6
    Last Post: 04-02-2008, 11:33 AM
  5. connecting to mysql database
    By javagal in forum NetBeans
    Replies: 2
    Last Post: 08-04-2007, 12:36 PM

Posting Permissions

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