Skip to content

Commit

Permalink
Update connectdatabase.php
Browse files Browse the repository at this point in the history
  • Loading branch information
oseno authored Sep 7, 2021
1 parent 2c58d1c commit 2651543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connectdatabase.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php
define('USER', 'root');
define('PASSWORD', '*Osenopweety187');
define('PASSWORD', '');
define('HOST', '127.0.0.1');
define('DATABASE', 'codevilla');
try {
$connection = new PDO("mysql:host=".HOST.";dbname=".DATABASE, USER, PASSWORD);
} catch (PDOException $e) {
exit("Error: " . $e->getMessage());
}
?>
?>

0 comments on commit 2651543

Please sign in to comment.