Before we created sub-domain "steel.newtrendz.com" for magento site. after completion of the site, we planned to move the
entire sub-domain site data "steel.newtrendz.com" to new main domain "steeloffcuts.co.nz". So we tried to transfer data from "steel.newtrendz.com" to "http://steeloffcuts.co.nz/". So we got Database error as follows
"magento SQLSTATE  Access denied for user to Database"
After lot of frustration, we changed the name "steel.newtrendz.com" to "http://steeloffcuts.co.nz/" in
Configuration>web>Unsecure> base url and in Configuration>web>secure> base url .
Is everything fine. is there any problem with this related to sub-domain & main domain or something else?
Is something else i have to change?
let me know if you have any queries in the question?