Re: Can't connect to my database.
MAKE SURE YOU CREATE A BACKUP BEFORE DOING ANY WORK!!!
Originally Posted by
sushilmishra
Lemme explain the whole issue properly which would help you to understand what i did..
1. I had the complete back up of the data from my previous hosting server before it went down.
2. Now in the new server.. I installed Zen cart using fantastico de luxe...
the name i gave to that folder was "store" (which is the same as the previous one)
3. the new zencart installation is the new one V 1.3.9 g but mine was a lil older one.. i guess.. 1.3.9 b or 1.3.8 b (not sure)
4. What I did was, extract all the previous data to this new folder..
5. when i tried to access the store by typing the url...it said that the installation is new so asked to me add the zc_install folder..and even edi my configure.php file
which i did...
NOW what i'm left with is :
- when i try to access my store from url..it shows a blank page
- when i try to log into admin..it shows the error mentioned above..
plz help..
MAKE SURE YOU CREATE A BACKUP BEFORE DOING ANY WORK!!!
did you do an SQL backup of your old server before moving to the new server?
have you checked the database NAME?
did you set any prefix's for the database tables?
some hosting companies use "prefixs" for the username
for example
your login id is fred1
so when u create a database user called monkey
it creates it as fred1_monkey
if u follow me....
so check database name, username, password, then DOUBLE CHECK THEM...
check database prefix's
if it has a prefix to your DB
in your configure file(include>config)
near the bottom there is
Code:
define('DB_PREFIX', ''); // prefix for database table names -- preferred to be left empty
enter ur DB prefix in there
Last edited by spid3r1987; 13 Oct 2010 at 08:51 AM.
i may not know how yet, but i soon will....i hope :)
Bookmarks