Fix Mysql #1044 AccessDenied for user And Import Database on web server(Hosting Server)


Fix Mysql #1044 AccessDenied for user And Import Database on web server

For Full Tutorial Visit:
This Video shows you that how to upload/import Database in web Server(Hosting Server). And Also Solve #1044 Access Denied-Error which is Mostly arise while importing Database.

Was this helpful? If yes support us on Patreon

For More Updates Visit out Website
official link:

Follow us on:

If You Like this Video Than Please Like this. hit Subscribe, Share And Comment.


Xem thêm bài viết khác:


  1. Kieran Mountney 11 July, 2020 at 15:12 Reply

    Thanks! This worked really well! I still don't know how to get my blog working on the new subdomain yet but your video has given me the information I've been looking for, for the last two days!

  2. Gabriela Elias Sarabia 11 July, 2020 at 15:12 Reply

    Hey man thank you so much for the information, you help me to solved the problem. I´m new at this, and had no IT trainning , you help me solved the problem like a pro 🙂 blesisnmgs to you!

  3. MrBlackEyedDog 11 July, 2020 at 15:12 Reply

    Thank you SO MUCH. Hours on the phone and 6 or 7 calls to Hostgator support over a week, who kept saying "only a developer can fix this problem" bla bla bla. Useless. This one video fixed everything – you're a star!

  4. Christopher Hansen 11 July, 2020 at 15:12 Reply

    Works great. Thanks. I also had to comment out the "CREATE DATABASE" line by inserting 2 dashes and a space like this "– CREATE DATABASE".

  5. Navi Singh 11 July, 2020 at 15:12 Reply

    Hi, im using xampp with no password & my database name is myDB.
    written code:
    $servername = "localhost";
    $username = "username";
    $password = "password";

    // Create connection
    $conn = new mysqli($servername, $username, $password);
    // Check connection
    if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);

    // Create database
    $sql = "CREATE DATABASE myDB";
    if ($conn->query($sql) === TRUE) {
    echo "Database created successfully";
    } else {
    echo "Error creating database: " . $conn->error;


    Now error is coming:

    Error creating database: Access denied for user ''@'localhost' to database 'mydb'

    So please help me how to find resolution. Thanks

Leave a reply