You may be running php7, which doesn't support standard MySQL connections. You would have to use MySQLi or downgrade your php version to 6 or lower.
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.