vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Links Directory > vBa Links Directory v1.0 Support > Troubleshooting & Problems

Reply
 
Thread Tools Display Modes
  #1  
Old 06-08-2005, 08:47 AM
slurp slurp is offline
Junior Member
 
Join Date: Feb 2005
Posts: 4
Default Database Index

Brian,

In the links table you have the linkid field as the primary and then again as an index, generating the following error:

PRIMARY and INDEX keys should not both be set for column `linkid`

I did the following to correct this via phpmyadmin:

Code:
ALTER TABLE `links` DROP PRIMARY KEY ,
ADD PRIMARY KEY ( `linkid` , `suspended` , `valid` , `dateline` )

ALTER TABLE `links` DROP INDEX `linkid`
This seems to have corrected the error, was there a better solution?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do I.....Database nubian Chit Chat 1 12-09-2004 11:35 AM
How do I make CMPS my forums index page - i cant replace index.php jilly Troubleshooting / "How do I..." Questions 4 09-22-2004 12:03 PM
Database Error Queensoul Troubleshooting / "How do I..." Questions 2 06-06-2004 02:34 PM


All times are GMT -4. The time now is 08:58 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.