Code Monkey home page Code Monkey logo

Comments (10)

ansgarbecker avatar ansgarbecker commented on May 28, 2024

Please follow the issue template the next time.

Some questions, as this is a bit unclear to me:

  • HeidiSQL version, MySQL/MariaDB version?
  • When exactly did you see this error message?
  • What row format did the table have when it was not DYNAMIC?

from heidisql.

ulaskayalar avatar ulaskayalar commented on May 28, 2024

1- HeidiSQL version, MySQL/MariaDB version?
1-Answer:
I do not know the old version because I downloaded the new version, but I am using MYSQL.

2-When exactly did you see this error message?
2-Answer: When associating foreign keys between tables. I tried all sorts of solutions, but everything seemed right.

3-What row format did the table have when it was not DYNAMIC?
3-Answer: DEFAULT.

I'm sorry I could not keep up with the sketch.

from heidisql.

ansgarbecker avatar ansgarbecker commented on May 28, 2024

DEFAULT row format is the same as DYNAMIC, isn't it?
You can check the row format when you fire a SHOW TABLE STATUS in the relevant database.

I do not know the old version because I downloaded the new version, but I am using MYSQL.

I assume you are on HeidiSQL 9.5, right? That's important man, please just provide such details here when reporting bugs.
And you need to provide the exact MySQL version here, otherwise I'm probably spending too much time for a bug which was fixed at some point.

from heidisql.

ulaskayalar avatar ulaskayalar commented on May 28, 2024

I do not know if the default and dynamic line formats are the same, but the problem is solved when dynamic is preferred instead of default.

I experienced the problem in MYSQL 9.4

from heidisql.

ansgarbecker avatar ansgarbecker commented on May 28, 2024

Ok, then we have just a requirement, not an issue in Heidi. Thanks for your quick feedback!

from heidisql.

ulaskayalar avatar ulaskayalar commented on May 28, 2024

I have tried Mysql versions 5.7 and 5.6 separately and I have observed that heidisql is problematic. The problem is not in dynamic row format but I try to associate foreign key in Navicat program and it works fine. In the same way, I try in HeidiSQL, there is a problem. In the meantime, I use google cloud servers.

from heidisql.

ansgarbecker avatar ansgarbecker commented on May 28, 2024

I still have problems in understanding what I can do here. Is there some concrete ALTER query which HeidiSQL should run before storing a foreign key?
This ticket is missing some conrete details, something beyond "Navicat can do it, but HeidiSQL can't"

from heidisql.

lukinhaspm avatar lukinhaspm commented on May 28, 2024

Hello, it's no make senses... @ulaskayalar , can you provide the tables/database structures and what we need to do to simulate this? I work with Heidi and other MySQL tools, I can try use this tools to test too...

from heidisql.

ulaskayalar avatar ulaskayalar commented on May 28, 2024

The problem is to associate foreign keys from different tables. Other programs already know that this is a bug, so they automatically fix it for beginners. You need to associate your identity (PRIMARY) and other foreign key independently of the tables. Associating MSSQL Diagram is an example of this.

I would like to give detailed information and I would like to answer your questions, but my English is weak.

from heidisql.

lukinhaspm avatar lukinhaspm commented on May 28, 2024

I think this is conceptual.
You can connect columns of the same type and size, one of which is the primary key of the parent table.
Avoid using text columns for this, you will gain in performance and organization of tables.
I do not see why associating two primary keys between them, I use FKs a long time and I have no problems, I wish I could simulate this in Heidi with your table structure. Send some pics or .sqls

from heidisql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.