delete old testing index.php file
This commit is contained in:
parent
369e7a0c8c
commit
1ea85c5901
@ -1,20 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
echo 'Let\'s Start.. ';
|
|
||||||
|
|
||||||
try{
|
|
||||||
$pdo = new \PDO(
|
|
||||||
'mysql:host=localdock;dbname=laravel', // you need to create the database manually when you boot the mysql docker container
|
|
||||||
'root',
|
|
||||||
'pass'
|
|
||||||
);
|
|
||||||
|
|
||||||
echo 'I am connected to the DB. ';
|
|
||||||
|
|
||||||
}catch(Exception $e){
|
|
||||||
echo $e;
|
|
||||||
}
|
|
||||||
|
|
||||||
echo 'Everything is cool.';
|
|
||||||
|
|
||||||
phpinfo();
|
|
Loading…
Reference in New Issue
Block a user