The Perfect Setup - Fedora Core 5 - MySQL Host Problems

Discussion in 'HOWTO-Related Questions' started by ezfilez, Sep 27, 2006.

  1. ezfilez

    ezfilez Member

    I was going through the tutorial fine till i get to this

    It keeps giving me errors on connecting - these are the errors below

    mysqladmin -h ezfilez -u root password #######
    mysqladmin: connect to server at 'ezfilez' failed
    error: 'Lost connection to MySQL server during query'

    So i try this

    mysqladmin -h ezfilez.selfip.net -u root password #######
    mysqladmin: connect to server at 'ezfilez' failed
    error: 'Lost connection to MySQL server during query'

    and

    mysqladmin -h localhost -u root password #######
    mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localhost' (using password: NO)'

    here is some of the files to look at ..


     
  2. ezfilez

    ezfilez Member

    I got it to work But ?

    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    68.9.124.170 ezfilez.selfip.net ezfilez < ---- I Changed it to my internal IP ( 192.168.1.109 of the server )


    is that ok to do for further problems will happen ... thanks
     
  3. falko

    falko Super Moderator Howtoforge Staff

    That's ok. :)
     

Share This Page