Magento Deployment

19.11.2012 | Magento

MySQL Socket ermitteln


mysql -uroot -pbitnami
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 76
Server version: 5.5.21 MySQL Community Server (GPL)

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show variables like '%socket%';
+---------------+-----------------------------------+
| Variable_name | Value                             |
+---------------+-----------------------------------+
| socket        | /opt/bitnami/mysql/tmp/mysql.sock |
+---------------+-----------------------------------+
1 row in set (0.00 sec)

DB Verbindung in local.xml


...
<default_setup>
                <connection>
                    <host><![CDATA[/opt/bitnami/mysql/tmp/mysql.sock]]></host>

...

Links in DB Tabelle core_config_data

You need to edit web/unsecure/base_url and web/secure/base_url in the database’s core_config_data table

Also hier jeweils hinterlegen: http://192.168.32.53/magento

evtl. noch RewriteBase setzen!

http://www.kudoswebsolutions.com/web-design-blog/magento-deployment-tipshttp://pravams.com/2011/05/26/magento-pdo-exception/