Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
How to create relations in mySQL?
Old 07-24-2006, 06:52 PM How to create relations in mySQL?
ilge's Avatar
Junior Talker

Posts: 2
Name: ILHAN GEZEN
Trades: 0
Hi guys,
I want to create a database with 10 tables . But only 5 of these tables have relation with each other and the rest 5 doesn't have relation with any other table. So my question is; can i put all these tables in one database together. because when i try, i have an error which tells me that some of the tables are not related. and also can i make relation in any type of database in mysql. because i also had a warning that my tables are not innodb type.
ilge is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-26-2006, 07:10 AM Re: How to create relations in mySQL?
ibbo's Avatar
Super Spam Talker

Posts: 880
Location: Leeds UK
Trades: 0
Yea course you can.

While it may be good practice to get your DB up to speed you need not loose sleep over it. These things are designed to just deliver (which they do pretty good without normalisation).

I have over 70 tables in one of my sites and while many tables are related many have nothing in common with others (buut that does not mean they dont get used).

So yes put em all in the same DB.

ibbo
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

Linux user #349545 :
(GNU/Linux)iD8DBQBAzWjX+MZAIjBWXGURAmflAKCntuBbuKCWenpm XoA7LNydllVQOwCf
ibbo is offline
Reply With Quote
View Public Profile Visit ibbo's homepage!
 
Old 07-26-2006, 08:36 PM Re: How to create relations in mySQL?
ilge's Avatar
Junior Talker

Posts: 2
Name: ILHAN GEZEN
Trades: 0
10x a lot ibbo
ilge is offline
Reply With Quote
View Public Profile
 
Old 08-01-2006, 10:49 AM Re: How to create relations in mySQL?
saadatshah's Avatar
Extreme Talker

Posts: 215
Name: Syed Saadat Ali
Location: Lahore, Pakistan
Trades: 0
Only INNODB type MSQL Databases support relations. So you have to make all your tables INNODB to support relations.
__________________
- -- --- ---- ----- ------ ------- ---------------
If you have knowledge, let others light their candles in it.
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Reply     « Reply to How to create relations in mySQL?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.13342 seconds with 12 queries