1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-18 12:30:35 +01:00

Fix per compatibilità con MySQL 8.0

This commit is contained in:
Luca 2019-04-10 15:28:00 +02:00
parent 98b2a37fdf
commit 5d825e334a

View File

@ -76,7 +76,7 @@ class Database extends Util\Singleton
} }
// Fix per problemi di compatibilità delle password MySQL 4.1+ (da versione precedente) // Fix per problemi di compatibilità delle password MySQL 4.1+ (da versione precedente)
$this->getPDO()->exec('SET SESSION old_passwords = 0'); //$this->getPDO()->exec('SET SESSION old_passwords = 0');
//$this->getPDO()->exec('SET PASSWORD = PASSWORD('.$this->prepare($this->password).')'); //$this->getPDO()->exec('SET PASSWORD = PASSWORD('.$this->prepare($this->password).')');
// Reset della modalità di esecuzione MySQL per la sessione corrente // Reset della modalità di esecuzione MySQL per la sessione corrente