Tech-Today
How to change the database setting in magento
The magento's database settings is stored in this file:
app/etc/local.xml
you would find something like this:
<default_setup>
<connection>
<host><![CDATA[localhost]]></host>
<username><![CDATA[username]]></username>
<password><![CDATA[password]]></password>
<dbname><![CDATA[databasename]]></dbname>
<active>1
</connection>
</default_setup>
Just change according to your connection.
-
How To Dump And Restore A Postgresql Database
To create a postgresql dump in linux, execute the following commands: Login as root user>su - postgres>pg_dump -U username -W -Z 9 -f /tmp/dump_username.dump.zip -h 127.0.0.1 dbname>passwordTo restore, execute: >psql -U username -f dump_username.dump dbnameOther...
-
How To Send And Receive Stomp Message In Jboss 7.2
The following code is an example of how we can send and receive a stomp message with JBoss 7.2. package org.meveo.util; import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; import java.util.Properties; import javax.naming.InitialContext;...
-
How To Install And Setup Magento On A Windows 7 Machine
This tutorial will try to install and setup magento on a local pc running windows 7. Requirements (I'm using the following versions, you can search the download links using google - lame :-) ): 1.) apache2.2 2.) php-5.2.14 3.) MySQL Server 5.5...
-
Magento Sqlstate[hy000] [2013] Lost Connection To Mysql Server
I have this unusual error when I printed the error caught in Mage::run method. I've already setup my database connection settings in app/etc/local.xml, but unfortunately I still have this error. What I found out was there is another configuration...
-
How To Install/setup/configure Joomla To Run In A Xampp Setup. This Avoids The Technical Detail Of Manually Installing Apache/php/mysql Each As Separate Application
I was ask by a friend of mine on how to setup joomla using xampp. Here are the steps: 1.) Install xampp, download from: http://www.apachefriends.org/download.php?xampp-win32-1.7.1-installer.exe 2.) Download joomla (full version): http://joomlacode.org/gf/download/frsrelease/10209/40308/Joomla_1.5.11-Stable-Full_Package.zip...
Tech-Today