Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable to connect to database


tubarao21

Recommended Posts

Hi there.

 

I was configuring my store and i copied all the files to my PC. The objective is to put an old store on line that we had (While the new one is being prepared, just to present something).

There's a small question. The old store was running on a different DataBase. I put the old store in my server, but now presents a message: "Unable to connect to database". I changed the name of the DB and name of user and password in configure.php but still keeps showing the message.

 

What to do? :o

Link to comment
Share on other sites

Is your old database an oscommerce or a different one?

 

Kevin

"What I didn't know yesterday, I know today & will remember tomorrow"

(By Kwalker)

 

What do you see when you open up the tep_database-pr2.2-CVS.pdf file that came with your osCommerce download?

Link to comment
Share on other sites

Can you create more than 1 database on your server?

 

I wouldn't try to merge 2 versions of anything together.

 

Kevin

"What I didn't know yesterday, I know today & will remember tomorrow"

(By Kwalker)

 

What do you see when you open up the tep_database-pr2.2-CVS.pdf file that came with your osCommerce download?

Link to comment
Share on other sites

Create a blank database and import the contents of the old 2.1 version database into it. When you go to install osCommerce choose the Upgrade link instead of Install New Store, and it will upgrade the 2.1 database to 2.2

 

Vger

Link to comment
Share on other sites

Can you create more than 1 database on your server?

 

I wouldn't try to merge 2 versions of anything together.

 

Kevin

 

I haven't explored the upgrade yet. I guess I would be merging.

 

Kevin

"What I didn't know yesterday, I know today & will remember tomorrow"

(By Kwalker)

 

What do you see when you open up the tep_database-pr2.2-CVS.pdf file that came with your osCommerce download?

Link to comment
Share on other sites

Create a blank database and import the contents of the old 2.1 version database into it. When you go to install osCommerce choose the Upgrade link instead of Install New Store, and it will upgrade the 2.1 database to 2.2

 

Vger

 

I see. And what do you mean by: "import the contents of the old 2.1 version database into it"? The old database is a goner. It was deleted.

Do you mean upload the old files of my store?

 

The old database had the default contents of OsCommerce 2.1. We didn't have any contents. We didn't have it working, it was just there to show something. But, the store were already translated to portuguese.

I installed a fresh OsCommerce 2.2 version (english), but still have the old store files translated.

And while the new store isn't ready, we want to put the old one back "in the air".

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...