Problem with installation OJS in Windows Server 2016

i am trying to install ojs on a windows server 2016 but when I give the install button I get error 500 and the blank page.
I have performed some of the actions that appear in this forum, such as changing msql to msqli and trying to install by command line but it still does not work. The error that appears to me is the following: [Mon Sep 23 13:23:14.104086 2019] [php7:error] [pid 13152:tid 1884] [client ::1:50391] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\lib\adodb\drivers\\nStack trace:\n#0 C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\lib\adodb\ ADODB_mysql->_connect(‘localhost’, ‘root’, ‘’, ‘’)\n#1 C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\classes\db\ ADOConnection->Connect(‘localhost’, ‘root’, ‘’, NULL, false)\n#2 C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\classes\db\ DBConnection->connect()\n#3 C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\classes\db\ DBConnection->initConn()\n#4 C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\classes\db\ DBConnection->initCustomDBConnection(‘mysql’, ‘localhost’, ‘root’, ‘’, NULL, false, ‘utf8’)\n#5 C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\classes\install\ DBConnection->__construct(‘mysql’, ‘localhost’, ‘root’, ‘’, NULL, false, ‘utf8’)\n#6 C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\classes\install\ PKP in C:\xampp\htdocs\ojs-3.1.2-1\lib\pkp\lib\adodb\drivers\ on line 456, referer: http://localhost:8080/ojs-3.1.2-1/index.php/index/install

Could you tell me what to do to solve this error. Thank you.