Localhost/Phpmyadmin Giving Page Not Found Error

Localhost or phpMyAdmin not found on server: How to fix?

There really isn't enough information to be able to give you a reasonable answer.

First check that your Apache is running. Goto your start menu and type services.msc into the text field.

Fairly high towards the top of the screen you will see ApacheX.X

See what the status of the service is. Try double-clicking on the Apache service and pressing Start if the service isn't running. If it has troubles starting you will get a message telling you the service couldn't be started.

localhost/phpmyadmin/setup/ not found

Hope this will help you to get through this.

After Configuring apache you need to follow these steps to get connect with local MySQL.

  1. Download the "Mac OS X 10.12 (x86, 64-bit), DMG Archive" - dmg version from https://dev.mysql.com/downloads/mysql/5.7.html and install the mysql in your mac machine. At end of the installation root password will be generated. kindly copy that password into notes or other files
  2. In terminal follow these steps (PURE OPTIONAL)

    • "cd /usr/local/mysql/bin" click enter button
    • "sudo ./mysql -u root -p" click enter and terminal will ask for
      password and you need to copy paste the MySQL ROOT password which i
      mentioned the step 1 and enter.
    • now you will be into mysql and if you want to change the ROOT
      password then enter this command in terminal "Alter user
      'root'@'localhost' identified by 'your new password which you like
      to change';
      " enter and exit from terminal
  3. Download phpmyadmin from https://www.phpmyadmin.net/ and extract the phpmyadmin file and rename it as phpMyAdmininto your WebServer/Documents folder ( /Library/WebServer/Documents/)
  4. Go to Terminal and enter the following command

    • cd /Library/WebServer/Documents/ and click enter
    • cd phpMyAdmin and click enter
    • sudo mkdir config and click enter
    • sudo chmod o+x config and click enter
  5. Go to Browser URL and enter the following localhost/phpmyadmin/setup and server set up page will be open and follow the below steps

    • Click on New Server button then navigate to authentication tab
      and enter the ROOT PASSWORD & click apply button
    • At bottom of overview page you can find Download button and click
      that and config.inc.php file will be downloaded
    • copy paste the config.inc.php file inside your phpMyAdmin
      folder
  6. Go to your browser url then enter localhost/phpmyadmin/ and enter with your credentials into database

Object not found!; Error 404

XAMPP cannot find your .php file.
Please check:

  1. Your file should be here: xampp\htdocs\
  2. File name (it should be: teacher-login.php)

phpmyadmin giving 404 not found inside docker container

Reset the docker container & visit localhost:8080. Not localhost:8080/phpmyadmin

Taking a 5 minute break was the real solution. Hate to admit I spent a few hours googling & trying different solutions.



Related Topics



Leave a reply



Submit