-2

I use php -S localhost:8000 command in git-bash in the path of project for running php. I need to have a look of my tables. In phpmyadmin for example or any other ways. Please help me. How can I do that? thanks

2
  • 1
    PHP doesn't come bundled with a database, that's why XAMPP/LAMP is a nice bundle for beginners (it has Apache and a database in its stack). If you only use PHP individually, you need to install a MySQL/MariaDB server instance separately Commented Oct 19, 2020 at 8:41
  • Why not use a docker-based setup (like ddev)? This helps you bundling all depending services in the correct versions Commented Oct 21, 2020 at 6:45

1 Answer 1

1

You can access MySQL through Client CLI (command line), or any MySQL client (datagrip (not free), dbforge, heidisql)... PHPMyAdmin is just a web MySQL Client.

If you want to access your database through PHPMyAdmin you need a web server. You can run the command you mentionned php -S localhost:8000 inside the PHPMyAdmin source directory (source location depend on your installation) to run the PHP web server.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.