volgens Ken Task.
Do you have the appropriate PHP extensions to support mysql? ... ie, the MySQL server (which I assume is on localhost ... same server as the moodle code).
php -m |grep mysql
might show the following (depending upon what OS platform you are running and where it's hosted):
mysql
mysqli
mysqlnd
pdo_mysql
Also, one could create a phpinfo.php file and place it at the root of the web server docs.
Then hit the phpinfo.php script with any browser and you should be able to see what php extensions are loaded to support the DB.
Also, are you running just one web service? which? apache? nginx? on what port? 80 or 81
Should pick just one to configure a single Moodle (same) instance upon ... not both.
'spirit of sharing', Ken