Professional Web Applications Themes

error 1044 : access denied for user :' '' localhost' to database - PHP Programming

Hi, you should specify the user that you are connecting with. If you like to connect through your IP, you should add the IP to legitimate client address for this user in mysqladmin "Evans" <webmasterREMOVPNOSnyagera.com> wrote in message news:4022a18a$0$1114$6c56d894feed0.news.be.easyne t.net... > Hi, > > I'm having this error message: > error 1044 : access denied for user :' '' localhost' to database 'immo' > I also get by the shell > ERROR 1045: Access denied for user: 'localhost' (Using password: YES > > When I try to connect to a database with mysql. > > Any idea how I can ...

  1. #1

    Default Re: error 1044 : access denied for user :' '' localhost' to database

    Hi,
    you should specify the user that you are connecting with.
    If you like to connect through your IP, you should add the IP to legitimate
    client address for this user in mysqladmin

    "Evans" <webmasterREMOVPNOSnyagera.com> wrote in message
    news:4022a18a$0$1114$6c56d894feed0.news.be.easyne t.net...
    > Hi,
    >
    > I'm having this error message:
    > error 1044 : access denied for user :' '' localhost' to database 'immo'
    > I also get by the shell
    > ERROR 1045: Access denied for user: 'localhost' (Using password: YES
    >
    > When I try to connect to a database with mysql.
    >
    > Any idea how I can fix this ?
    >
    > Evans
    >
    >

    Hi Ho Guest

  2. #2

    Default error 1044 : access denied for user :' '' localhost' to database

    Hi,

    I'm having this error message:
    error 1044 : access denied for user :' '' localhost' to database 'immo'
    I also get by the shell
    ERROR 1045: Access denied for user: 'localhost' (Using password: YES

    When I try to connect to a database with mysql.

    Any idea how I can fix this ?

    Evans


    Evans Guest

  3. #3

    Default Re: error 1044 : access denied for user :' '' localhost' to database

    When I try to connect with my IP specified as host
    I get the error :

    MySQL error 2013, 'Lost connection to MySQL server during query'

    "Evans" <webmasterREMOVPNOSnyagera.com> wrote in message
    news:4022a18a$0$1114$6c56d894feed0.news.be.easyne t.net...
    > Hi,
    >
    > I'm having this error message:
    > error 1044 : access denied for user :' '' localhost' to database 'immo'
    > I also get by the shell
    > ERROR 1045: Access denied for user: 'localhost' (Using password: YES
    >
    > When I try to connect to a database with mysql.
    >
    > Any idea how I can fix this ?
    >
    > Evans
    >
    >

    Evans Guest

  4. #4

    Default Re: error 1044 : access denied for user :' '' localhost' to database

    check your php code if you have correctly pass the right user and password
    to connect to your db. Also check if the user can connect with the command
    line, if not, your user account was not well created. Maybe you forgot to
    use PASSWORD() or OLD_PASSWORD() when you created it.

    Savut

    "Evans" <webmasterREMOVPNOSnyagera.com> wrote in message
    news:4022a18a$0$1114$6c56d894feed0.news.be.easyne t.net...
    > Hi,
    >
    > I'm having this error message:
    > error 1044 : access denied for user :' '' localhost' to database 'immo'
    > I also get by the shell
    > ERROR 1045: Access denied for user: 'localhost' (Using password: YES
    >
    > When I try to connect to a database with mysql.
    >
    > Any idea how I can fix this ?
    >
    > Evans
    >
    >
    Savut Guest

  5. #5

    Default Re: error 1044 : access denied for user :' '' localhost' to database

    Well, I did what you recommend and what Hi Ho recommend , it still doesn't
    work ((

    "Savut" <webkihotmail.com> wrote in message
    news:LCRUb.16563$bp1.720430news20.bellglobal.com. ..
    > check your php code if you have correctly pass the right user and password
    > to connect to your db. Also check if the user can connect with the command
    > line, if not, your user account was not well created. Maybe you forgot to
    > use PASSWORD() or OLD_PASSWORD() when you created it.
    >
    > Savut
    >
    > "Evans" <webmasterREMOVPNOSnyagera.com> wrote in message
    > news:4022a18a$0$1114$6c56d894feed0.news.be.easyne t.net...
    > > Hi,
    > >
    > > I'm having this error message:
    > > error 1044 : access denied for user :' '' localhost' to database 'immo'
    > > I also get by the shell
    > > ERROR 1045: Access denied for user: 'localhost' (Using password: YES
    > >
    > > When I try to connect to a database with mysql.
    > >
    > > Any idea how I can fix this ?
    > >
    > > Evans
    > >
    > >
    >

    Evans Guest

Similar Threads

  1. Access denied for user
    By Ray Muforosky in forum MySQL
    Replies: 2
    Last Post: April 13th, 09:33 PM
  2. MySQL Access denied for user - Plesk / FC 2
    By rossn8tor@hotmail.com in forum Coldfusion Server Administration
    Replies: 1
    Last Post: November 9th, 04:31 PM
  3. MX2004 User Authentication: Access Denied
    By yep29 in forum Dreamweaver AppDev
    Replies: 1
    Last Post: May 11th, 08:54 PM
  4. 401 Access Denied, but only for one user
    By Jeff Stewart in forum ASP.NET Web Services
    Replies: 3
    Last Post: April 4th, 10:13 PM
  5. Error 1044 Access denied to database
    By John in forum PHP Development
    Replies: 6
    Last Post: June 7th, 01:05 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139