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
-
1PHP 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 separatelyBruno Pérel– Bruno Pérel2020-10-19 08:41:21 +00:00Commented 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 versionsNico Haase– Nico Haase2020-10-21 06:45:21 +00:00Commented Oct 21, 2020 at 6:45
Add a comment
|
1 Answer
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.