Jump to content

Database Woes


Guest vixen

Recommended Posts

Guest vixen

Hi,

I have set up Cubecart 2.07. I did not enter a Prefix for my database tables.

Is it possible to do so now after deleting my install.php

regards

Vixen

Link to comment
Share on other sites

Actually it is possible but very tricky.

Why do you need to do this? I thought the days of hosts providing only 1 mysql database were long gone. I would urge you not to do this unless you really need to as whatever else you have mixed in with your cubecart database can compromise your cubecart security.

However, if you insist, you wil need to perform the following SQL on each table via phpmyadmin.

Backup first!!

ALTER TABLE `XXX` RENAME `prefix_XXX`;

then you will need to change $config['dbprefix'] = '';

prefix in your includes/global.inc.php

A similar process woul apply with cc2, but you would need to change the settings in admin/config.php

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...