Breaking

Friday, June 5, 2020

How to make MySQL public access from aws server ?

If you're reading this article you've probably attempted to access the phpMyAdmin link in XAMPP only to receive the following "Forbidden Access" error:

When you try to access through ip: 198.162.1.1:80/phpmyadmin

This article will show you how to fix this issue on Mac. If you're using a PC the solution is the same but navigating the steps will look a little different on your computer.

I am using a MacBook Pro running macOS Mojave v.10.14.6

Before we get started make sure you have completed the following:
  • Installed and opened XAMPP
  • Started running your stack services: ProFTPD, Apache, and MySQL

How to Fix XAMPP Error 403

Step 1: Open Volumes tab in XAMPP app
Step 2: Goto the Config -> httpd-xampp.conf -> then go to below block of code:

Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
    <Directory "C:/xampp/phpMyAdmin">
        AllowOverride AuthConfig
        Require local // change to Require all granted
        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var

    </Directory>

Yuck! during development and seeing unforced/unwanted errors… after all a few mins R&D and research , i got a solution at two different websites … but individually they were bit incomplete and on combining both solutions , i got the issue resolved 🙂

3 comments:

  1. Nice information, valuable and excellent design, as share good stuff with good ideas and concepts, lots of great information and inspiration, both of which I need, thanks to offer such a helpful information here.
    360DigiTMG PMP Certification
    360DigiTMG PMP Certification in Malaysia
    360DigiTMG PMP Course
    360DigiTMG PMP Course in Malaysia

    ReplyDelete
  2. I am impressed by the information that you have on this blog. It shows how well you understand this subject.
    data analytics course
    big data analytics malaysia
    big data course

    ReplyDelete
  3. Always so interesting to visit your site.What a great info, thank you for sharing. this will help me so much in my learning
    data science course

    ReplyDelete