home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

mySQL coding assistance

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2373
Discussions: 200,942, Posts: 2,379,308, Members: 246,305
Old December 22nd, 2005, 03:27 PM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: Dec 2005
Posts: 3
mySQL coding assistance

I am in need of assistance with this code. I'm attempting to make a table for a community. It seems everything is ok when I upload the .sql file except for this line.

create table bugs(bugid bigint primary key auto_increment, memberid bigint references members, bugtext text, type integer, bugdate DATE)

And this is what shows when I try to upload the file.

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'create table bugs(bugid bigint primary key auto_increment, memb


Could someone help me.

Thanks.
Herbal_Lavender
herbal_lavender is offline   Reply With Quote
Old December 22nd, 2005, 07:48 PM     #2 (permalink)
Senior Member
 
Join Date: May 2003
Location: Aus, Gold Coast :)
Posts: 802
Send a message via ICQ to exally
oh i have had this error, i assume u have the ';' at the end... and do u need to make memberid a foreign key?? bah i have no idea, did have thaqt error though
exally is offline   Reply With Quote
Old December 28th, 2005, 11:41 AM     #3 (permalink)
Senior Member
 
bwcc's Avatar
 
Join Date: Nov 2001
Location: Central KS
Posts: 840
Hmm. Ran that exact code as written - didn't have a problem. You're sure that a table 'bugs' does not already exist?
__________________
Im against picketing, but I dont know how to show it.
bwcc is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP / MySQL coding help VillageIdiot906 Webmastering and Programming 3 February 22nd, 2005 11:54 PM
VB coding help cracked Webmastering and Programming 6 March 18th, 2003 12:29 AM
VB Coding Help #2 :D cracked Webmastering and Programming 9 February 22nd, 2003 07:48 PM
A little coding help please! willy_ph Graphic Design and Digital Photography 5 May 31st, 2002 12:23 AM
VB coding in Access SlipGun Webmastering and Programming 9 May 14th, 2002 12:25 AM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
The disrespect of Obama by Russian .. (9)
Is It Just Me? (2918)
windows 7 problem (7)
Wireless Televisions. (11)
CPU fan stops spinning randomly (8)
Regular Build (6)
Is the PSU I received dead? (11)
Print spooler problem (14)
HIS HD5770 graphic card question (15)
windows vista security holes (9)
Install XP pro and a Vista laptop ?.. (11)
Foreign voltage (10)
Dept. of HS: NSA 'Helped' Develop V.. (15)
A good PSU? (10)
Recent Discussions
Laptop with wireless problem. (1)
Print spooler problem (14)
Wireless Televisions. (11)
Have you switched yet? (86)
Asus P4G8X Mobo (5)
screen resolution vs monitor size (2)
radeon x850xt platinum & shader 3 (4)
sms storage to PC (0)
Regular Build (6)
Open With ..... Win7 (0)
java code for fibonacci (1)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (35)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Partition Magic caused HDD problem (3)
Is the PSU I received dead? (11)
Point and Shoot Camera Suggestions. (2)
Modern Warfare 2 freeze (13)
wireless user (1)
World's largest Monopoly Game using G.. (332)
Ideal cheap graph card for PC-Gaming? (17)
BIOS won't read disk when I try to fl.. (0)
Install XP pro and a Vista laptop ?? (11)
Graphics Card Upgrade Question (1)
favorit (1)


All times are GMT -4. The time now is 04:34 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28