By mike712366
After move I cant get this work. I am getting error:
Still trying to connect to ‘mysql1.myhost.ie’ but the local.xml has host: localhost. cache and session folder is empty. htaccess file is default. can you help me ? I am using Ubuntu with ISPconfig Cpanel and Apache
a:4:{i:0;s:80:"SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'mysql1.myhost.ie' (110)";i:1;s:2613:"#0 ......
my local.xml is:
<host><![CDATA[localhost]]></host>
so I dont understand why wants to connect to ‘mysql1.myhost.ie’. var and cache is empty
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
It seems that Magento 1.x versions will in fact load any file from the app/etc/ with the .xml file extension. So there is likely a backup of your old configuration that is being loaded and taking precedence. This in depth post goes into some detail about how those files are loaded and interpreted:
The while loop will go through the remaining XML files and load each one. If you’ve ever accidentally copied another XML file into the app/etc folder and had weird things happen, this is the reason for that weirdness. Magento will load ANY file that ends in .xml.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.