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

Mysql hakkında herşey
Cevapla
abdulkadirlevent
Site Admin
Mesajlar: 24
Kayıt: Pzr Oca 19, 2020 4:27 pm

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

Mesaj gönderen abdulkadirlevent »

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

Bu hata nasıl düzeltilecek

1-XAMPP control panelini açın
2-MySQL > Config > my.ini dosyasını açın
Resim
3-[mysqld] tag altına alttaki kodu ekleyin
skip-grant-tables
Resim
4-my.ini dosyasını kaydedin
5-STOP ve START buttonuna tıklayara sunucuyu yeniden başlatın
Resim
6-Adresi gidin http://localhost/phpmyadmin/ veya http://127.0.0.1/phpmyadmin/
7-Veritabanları Listesinden mysql DB'yi seçin
8-user tablosunu seçin ve onar'ı tıklayın "Repair the table named user by selecting checkbox then click on Repair table"
Resim
9-my.ini içine [mysqld] etiketi altında eklenen skip-grant-tables satırını kaldırın...
10-İşlem tamam..!

Cevapla