0

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[42000] [1044] 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?

Thanks.

3
  • Please check the site now i hope it is working fine steeloffcuts.co.nz Jul 16, 2014 at 12:41
  • Thanks for your reply. ya, it's working fine. but is there anything wrong i did as i mentioned in the question. Jul 16, 2014 at 12:43
  • No you did right , but you forgot to clear the cache Jul 16, 2014 at 12:45

1 Answer 1

1

You need to update local.xml from the

app->etc folder

please specify the credentials you are using is it correct. hopt this will help you.

1
  • Thanks a lot for your suggestion. I just changed the name of the domain. I did't created any user , password, database and i did't copied my sub -domain data to main domain. I just renamed subdomain name to main domain in admin panel. Is evrything fine with this? Thanks. Jul 21, 2014 at 3:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.