Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Relationships #14505
    spc_123
    Member

    No, I did not knowingly build any constraints. In fact, if I use DBManager instead of SQLyog, I don't have any problem creating the relationships. In fact, that was the only way I managed to create the foreign key section displayed in the following table. I'd prefer to use SQLyog if possible. Here is the first table info:

    Column Information For – cyberdb.cs_component


    Field Type Null Key Default Extra







    id smallint(8) PRI (NULL) auto_increment

    component_type_id smallint(8) YES MUL (NULL)

    segment_id smallint(8) YES (NULL)

    comp_conf_id smallint(8) YES (NULL)

    Index Information For – cyberdb.cs_component


    Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment













    cs_component 0 PRIMARY 1 id A 0 (NULL) (NULL) BTREE

    cs_component 1 component_type_id 1 component_type_id A 0 (NULL) (NULL) YES BTREE

    DDL Information For – cyberdb.cs_component


    Table Create Table



    cs_component CREATE TABLE `cs_component` (

    `id` smallint(8) NOT NULL auto_increment,

    `component_type_id` smallint(8) default NULL,

    `segment_id` smallint(8) default NULL,

    `comp_conf_id` smallint(8) default NULL,

    PRIMARY KEY (`id`),

    KEY `component_type_id` (`component_type_id`),

    FOREIGN KEY (`component_type_id`) REFERENCES `cs_component_type` (`id`)

    TYPE=InnoDB

    *************************************************

    here is the second:

    Column Information For – cyberdb.cs_component_type


    Field Type Null Key Default Extra







    id smallint(8) PRI (NULL) auto_increment

    name varchar(20) YES (NULL)

    tier_name smallint(2) YES (NULL)

    Index Information For – cyberdb.cs_component_type


    Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment













    cs_component_type 0 PRIMARY 1 id A 13 (NULL) (NULL) BTREE

    DDL Information For – cyberdb.cs_component_type


    Table Create Table



    cs_component_type CREATE TABLE `cs_component_type` (

    `id` smallint(8) NOT NULL auto_increment,

    `name` varchar(20) default NULL,

    `tier_name` smallint(2) default NULL,

    PRIMARY KEY (`id`)

    TYPE=InnoDB

    *************************************************************

    Any ideas?

    in reply to: Error 1100 #14492
    spc_123
    Member

    Then, right after I get this message, I continually get the Error 1100 again…..which is then resolved by disconnecting and reconnecting again. I resolved the problem by dropping the problem tables and recreating them.

    in reply to: Error 1100 #14491
    spc_123
    Member

    I disconnected/reconnected, and it seems that I can open my tables again…however, when I try to delete a relationship on a form I get: Error No. 1064 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 '?, modified, im_id from `cyberdb`.`cs_operator`' at line 1

    I'm doing this via SQLyog, and not personally running any SQL

    in reply to: getting Error 1005 #14487
    spc_123
    Member

    Resolved this issue….I had several indexes on this table. Once I deleted the indexes, I was able to delete the relationships…..Is this as designed? Thanks for being there anyway…

    in reply to: Cannot change table type #14477
    spc_123
    Member

    Thank you both! As it turns out, I was running v.3 not 4 as I thought, and hadn't run the mysql-max.exe. I removed it and installed v4, made the modifications to the my.ini manually, removed the service, and ran the mysql-max.exe. Seems to be fine! Thanks again, you guys saved my posterior.

    in reply to: Need help with enum fields #14479
    spc_123
    Member

    THANK YOU RiTesh!!! Less filling Works great!

Viewing 6 posts - 1 through 6 (of 6 total)