Posts

Showing posts with the label MySQL

Tealeaf: Change mysql database name

Image
I had this problem so I’m posting how I got it solved. If you want to change mysql configuration you have to edit app/etc/local.xml, some people say it works, but for me it did not work until I had removed all the magento’s cache files from the directory: var/cache After that the changes to the mysql configuration were updated!

Update photo into MySQL

Update photo into MySQL Problem: There is a problem when you update the photo into MySQL database. You might got only some parts of picture. Solution: Change the column photo type to "Longblob"