Create Moodle database

Trying connect to MySQL
Fatal error: Call to undefined function mysql_connect() in D:\222\_moodle_php_routines\create_moodle.php on line 12