Please start any new threads on our new 
    site at https://forums.sqlteam.com.  We've got lots of great SQL Server
    experts to answer whatever question you can come up with.
    
        | 
                
                    | 
                            
                                | Author | Topic |  
                                    | Giacomo1983Starting Member
 
 
                                        5 Posts | 
                                            
                                            |  Posted - 2012-03-08 : 16:32:14 
 |  
                                            | Hi all,I use MySqlWorkbench on MySql 5.1. I'm using the EER schema design tool and I need to create a 1:1 relationship between two table. With that tool I mangage to do that but when I do "forward engineer SQL create script" and run the script the relation become many to one!! I realize that because if I do "create EER model from existing DB" and I chose the DB I have created, the two table has a many to one relation!I use InnoDB engine.. I try many time to create a diagram with only two table connected with 1:1 relation and than create and run the script but that relation change automatically!Can you help me??thanks a lot |  |  
                                    | tkizerAlmighty SQL Goddess
 
 
                                    38200 Posts |  |  
                                    | SwePesoPatron Saint of Lost Yaks
 
 
                                    30421 Posts | 
                                        
                                          |  Posted - 2012-03-08 : 16:36:15 
 |  
                                          | No. This is a Microsoft SQL Server forum.Please ask at a MySQL-forum.  N 56°04'39.26"E 12°55'05.63"
 |  
                                          |  |  |  
                                    | robvolkMost Valuable Yak
 
 
                                    15732 Posts | 
                                        
                                          |  Posted - 2012-03-08 : 16:36:26 
 |  
                                          | SQLTeam is a Microsoft SQL Server website.  For MySQL questions try http://dbforums.com/    |  
                                          |  |  |  
                                    | tkizerAlmighty SQL Goddess
 
 
                                    38200 Posts |  |  
                                    | Giacomo1983Starting Member
 
 
                                    5 Posts | 
                                        
                                          |  Posted - 2012-03-08 : 17:52:07 
 |  
                                          | Sorry I didn't know.. |  
                                          |  |  |  
                                |  |  |  |