etc/hosts 文件中已经添加127.0.0.1 localhost
    
    my.ini 中也添加了 
    [mysqld] 
    skip-name-resolve 
    # The TCP/IP Port the MySQL Server will listen on
    port=3307
    
    但是命令行中连接mysql 或是用MySQL-Front 都依旧是错误
    error 1042 :can not get hostname for your address    另外命令行中直接敲入hostname,能正确返回计算机名。。
    
    求牛人指点!!!