Advertisement
rodrigofv1994

Untitled

Aug 3rd, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1. $host="mysql556.umbler.com";
  2. $user="admin_hospital";
  3. $password="Rv964841834";
  4. $database="hospital_novo";
  5. $port="41890";
  6. $socket="";
  7.  
  8.  
  9. try {
  10.     $conexaoBaseDados = new PDO("mysql:host=$host:$port;dbname=$database;charset=utf8", $user, $password);
  11. } catch (PDOException $e) {
  12.     exit('Erro ao tentar conexΓ£o: ' . $e->getMessage());
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement