ERROR 1130 (HY000): Host 'localhost' is not allowed to connect to this MariaDB server

  • | 299 points

    Hi! Someone could me help solve this problem.
    I tried several methods but none works , I don't want to lose my data . Thanks !!0_1548739944959_Capture.PNG

  • administrators
    | 132054 points

    @Jesus-Sarmiento : Don't panic. Your data is there. Please follow these steps:

    1. Rename your data dir (C:\laragon\data) to C:\laragon\data.bak
    2. "Start All", Laragon will re-create fresh data at C:\laragon\data, check if you can connect then stop.
    3. Copy your data in data.bak to data:
    • All folders inside
    • ib* files
    1. Start Laragon again.

    I hope it helps.

    Also, please check why MariaDB crashed in Menu > Laragon > laragon.log

  • | 299 points

    @leokhoa thanks it works !!

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.