0

Check database credentials using tinker in a laravel 6.x application

  • What is the command to check Database connection in tinker in a laravel application
Jareer
  • 242
  • 5
  • 24

1 Answers1

1

To run tinker:

php artisan tinker

Then run:

DB::select('SHOW TABLES');
Alan Reed
  • 470
  • 4
  • 11