Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Cannot Install V4 Database


managingdirector

Recommended Posts

Hello,

To give the correct answer for this question, you have to turn into a clairvoyant with a crystal ball...

You should give information about your configuration:

Linux, Windows?

PHP version?

Database server version?

Mysql, MariaDB?

with OsC 2.2 since 2006 ...

Link to comment
Share on other sites

On 8/13/2022 at 1:34 AM, managingdirector said:

When installing "Installation v.4.02 build 49998", "Step 3", "Database Access", the installation script throws an error: "Error. Can't update database." The database initialization stopped after the 5th table: "admin_boxes". Is there a fix for this?

This could be happening for a number of reasons, such as:

- not enough space on your server 

- versions of the DB is different from what is required for osCommerce - see https://wiki.oscommerce.com/index.php?title=Installing_osCommerce_v.4.0

- the DB user doesn't have enough permissions 

You'd need to check system logs to see what is reported by your DB there. 

Let us know if any further assistance is required.

Link to comment
Share on other sites

I am able to install osCommerce Online Merchant v2.3.4.1 on the same server as a test without any issues. Since some of the tables load, the problem appears to lie in the installation completing the job. Here are more details:

Host: localhost:3306 (MariaDB)
CPU: Intel(R) Xeon(R) CPU E5-2683 v3 @ 2.00GHz (2 core(s))
Control Panel: Plesk Obsidian v18.0.45_build1800220722.09 os_CentOS 7
OS: CentOS Linux 7.9.2009 (Core)
PHP: 7.4.30
Database Server: localhost:3306
Database Name: OSC4DATABASE
Tables loaded:
  access_control_list [InnoDB utf8_general_ci] 48.0 KiB
  access_levels  [InnoDB utf8_general_ci]    16.0 KiB
  address_book [InnoDB utf8_general_ci] 32.0 KiB
  address_format [InnoDB utf8_general_ci] 16.0 KiB
  admin [InnoDB utf8_general_ci] 80.0 KiB     -
  admin_box [InnoDB utf8_general_ci] 16.0 KiB

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...