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