Cambio de credenciales de bd
This commit is contained in:
parent
2270b949da
commit
bd1b778cb7
|
@ -1,4 +1,9 @@
|
|||
-- Crear usuario que utiliza el sistema
|
||||
CREATE USER lania@localhost IDENTIFIED BY 'l4n1@Cc';
|
||||
GRANT ALL PRIVILEGES ON lania_cc.* TO lania@localhost;
|
||||
FLUSH PRIVILEGES;
|
||||
|
||||
-- Crear usuario que utiliza el sistema
|
||||
CREATE USER laniacc@localhost IDENTIFIED BY '<U]93Cl3';
|
||||
GRANT ALL PRIVILEGES ON lania_cc.* TO laniacc@localhost;
|
||||
FLUSH PRIVILEGES;
|
|
@ -13,8 +13,8 @@ class Database {
|
|||
public function __construct() {
|
||||
$host = 'localhost';
|
||||
$dbname = 'laniacc';
|
||||
$user = 'lania';
|
||||
$password = 'l4n1@Cc';
|
||||
$user = 'laniacc';
|
||||
$password = '<U]93Cl3';
|
||||
|
||||
try {
|
||||
$this->mysqli = new mysqli($host, $user, $password, $dbname);
|
||||
|
|
Loading…
Reference in New Issue