17 lines
354 B
PHP
17 lines
354 B
PHP
<?php
|
|
|
|
define('dbhost', 'localhost');
|
|
define('dbuser', 'lazyp_workadmin');
|
|
define('dbpass', 'GH5fZF0iCtLnHLrz');
|
|
define('dbname', 'LudosData');
|
|
|
|
|
|
try {
|
|
$connect = new PDO("mysql:host=".dbhost."; dbname=".dbname, dbuser, dbpass);
|
|
$connect->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
|
}
|
|
catch(PDOException $e) {
|
|
echo $e->getMessage();
|
|
}
|
|
|
|
?>
|