Atualizando registros
This commit is contained in:
parent
3240cbb001
commit
fccf70af03
1 changed files with 3 additions and 6 deletions
9
vendor/model/Host.class.php
vendored
9
vendor/model/Host.class.php
vendored
|
|
@ -10,24 +10,21 @@ class Host
|
|||
public function getDsn()
|
||||
{
|
||||
#Acesso local
|
||||
return $dsn = (string)"mysql:host=localhost;dbname=backup;port=3306;charset=utf8";
|
||||
|
||||
#Acesso externo
|
||||
#return $dsn = (string)"mysql:host=192.185.216.185;dbname=softw846_backup;port=3306;charset=utf8";
|
||||
return $dsn = (string)"mysql:host=api_mysql;dbname=backup;port=3306;charset=utf8";
|
||||
}
|
||||
|
||||
/** Pego o usuário de acesso **/
|
||||
public function getUser()
|
||||
{
|
||||
#return $user = (string)"softw846_backup";
|
||||
return $user = (string)"root";
|
||||
return $user = (string)"mysql";
|
||||
}
|
||||
|
||||
/** Pego a senha de acesso **/
|
||||
public function getPassword()
|
||||
{
|
||||
#return $password = (string)"@Sun147oi.";
|
||||
return $password = (string)"root";
|
||||
return $password = (string)"sun147oi";
|
||||
}
|
||||
|
||||
/** Pego o charset de acesso **/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue