How to fix “Not enough memory” on Windows 7 and PHP 7.2.0 (cli)

How to fix “Not enough memory” on Windows 7 and PHP 7.2.0 (cli)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)