This is a discussion on currupt database within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I have an error with my whos_online table. I tried to repair it and deleted it by accident. How do ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I have an error with my whos_online table. I tried to repair it and deleted it by accident. How do I create a new one? |
|
#2
| ||||
| ||||
| Get the sql from the install directory in the oscommerce download package. Edit the sql file in a text editor, find the whos_online table sql and paste it into the sql box of phpmyadmin or whatever mysql front end you are using...
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| Thanks but someone on another forum help me and I did the following........... whos_online table deleted. Need help creating new one. - osCommerce Community Support Forums Go to phpMyAdmin sql box and paste the followin in then click go. You can fine all the sql in the install dir of osc zip "oscommerce.sql" DROP TABLE IF EXISTS whos_online; CREATE TABLE whos_online ( customer_id int, full_name varchar(64) NOT NULL, session_id varchar(12 ip_address varchar(15) NOT NULL, time_entry varchar(14) NOT NULL, time_last_click varchar(14) NOT NULL, last_page_url varchar(64) NOT NULL ); Last edited by bagged89s10; 02-27-2007 at 04:46 PM. |
|
#4
| ||||
| ||||
| That is exactly what I told you to do...
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HELP MY DATABASE IS GONE!! | markymrk22 | osCommerce 2.2 Discussion | 4 | 07-28-2005 10:39 AM |
| Errors in database | auntie22 | osCMax v1.7 Discussion | 0 | 07-24-2005 05:59 PM |
| Customer downloads product but file is currupt | dno | osCommerce 2.2 Installation Help | 3 | 08-08-2004 02:09 PM |
| Database | marbor | osCommerce 2.2 Installation Help | 1 | 01-26-2004 07:33 AM |
| What name should database be? | Anonymous | osCommerce 2.2 Installation Help | 2 | 11-25-2002 06:31 AM |