Results 1 to 3 of 3

Thread: Access Errors

  1. #1
    Join Date
    Feb 2002
    Posts
    43

    Unanswered: Access Errors

    I am using PHP to connect to a MySQL database. When I connect I get the error:

    Unable to connect to MySQL server: servername : '' :Access denied for user: 'username@servername' (Using password: YES)

    I am able to connect using this user from the command prompt and I am able to access the database just fine. I am also able to connect from PHP if start mysqld with the --skip-grant-tables option. I do not want to have to run my database with this option so does anyone know what I am doing wrong?

  2. #2
    Join Date
    Oct 2003
    Location
    Slovakia
    Posts
    482

    Re: Access Errors

    Originally posted by cmptrguru7
    I am using PHP to connect to a MySQL database. When I connect I get the error:

    Unable to connect to MySQL server: servername : '' :Access denied for user: 'username@servername' (Using password: YES)

    I am able to connect using this user from the command prompt and I am able to access the database just fine. I am also able to connect from PHP if start mysqld with the --skip-grant-tables option. I do not want to have to run my database with this option so does anyone know what I am doing wrong?
    Try to search in this forum and you'll get the answer...

  3. #3
    Join Date
    Feb 2002
    Posts
    43

    Re: Access Errors

    Originally posted by ika
    Try to search in this forum and you'll get the answer...
    Thanks

Posting Permissions

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