What version of php are you running? You will have to have a version less than v7 to work with mySQL and not mySQLi.
If you create a page with this code:
It will tell you what version of php you are running.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.