Results 1 to 6 of 6

Thread: [RESOLVED] 'nobody'@'localhost' (using password: NO)

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Posts
    352

    Resolved [RESOLVED] 'nobody'@'localhost' (using password: NO)

    Can someone tell me what this means and how I can isolate the whole problem listed below.


    PHP Error Message

    Code:
    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/a1571937/public_html/includes/database/mysql.php on line 13
    
    Free Web Hosting 
    
    PHP Error Message 
    
    Warning: mysql_get_server_info(): supplied argument is not a valid MySQL-Link resource in /home/a1571937/public_html/includes/database/mysql.php on line 14
    
    Free Web Hosting 
    Access denied for user 'nobody'@'localhost' (using password: NO)


    Cheers
    Attached Images Attached Images

  2. #2
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: 'nobody'@'localhost' (using password: NO)

    It means the username and or password you have used to connect to MySql is invalid. Use a valid one to fix the problem.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Posts
    352

    Re: 'nobody'@'localhost' (using password: NO)

    When creating the database, the Host was changed from localhost to say ABCD does this mean I have to replace this in the whole script ?

  4. #4
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: 'nobody'@'localhost' (using password: NO)

    I would hope that you only use the host name of the database once in your application as a string and include the file which contains this definition. If not, then the answer is yes.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  5. #5
    Frenzied Member
    Join Date
    May 2003
    Location
    So Cal
    Posts
    1,564

    Re: 'nobody'@'localhost' (using password: NO)

    Post your connection code, somewhere in there you state where the MySQL Server is.

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2006
    Posts
    352

    Re: 'nobody'@'localhost' (using password: NO)

    G thanks I've got it Done

Posting Permissions

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



Click Here to Expand Forum to Full Width