Unfortunately I'm not a server configuration or database repairs expert and I think that is the source of your problem. Dreamweaver uses a php page to connect to your database, so if that can't be done then there is nothing in Dreamweaver you can change to fix it. First it has to work through php.