heidisql Questions

37

Solved

table1 is the parent table with a column ID and table2 has a column IDFromTable1. Why when I put a FK on IDFromTable1 to ID in table1 do I get Foreign key constraint is incorrectly formed error? (I...
Deputation asked 8/12, 2011 at 16:47

3

Solved

I have been trying to connect to a localdb instance with the latest version (at this time) of heidisql to no avail. I have followed the instructions from this answer here but it doesn't seem to wo...
Educational asked 16/6, 2016 at 7:12

3

I'm using HeidiSQL to edit a MYSQL database, and it's asking which library I want to use for the edits: libmysql-6.1.dll libmysql.dll How do I know which one to use?
Semimonthly asked 2/1, 2020 at 23:24

5

I have a table which contains many fields. I'd like to set "id" and "userId" as a composite primary key in HeidiSQL, do you know if it is possible with this software?
Confute asked 12/8, 2014 at 15:3

2

Solved

My postgres yaml part looking like this: postgres: container_name: 'postgres' image: postgres:10.1 environment: - POSTGRES_USER=postgres - POSTGRES_PASSWORD=root - POSTGRES_DB=myids ports: ...
Wristwatch asked 23/11, 2017 at 11:36

2

create table users (id int not null auto_increment , username varchar(255) NOT NULL , password varchar(255) NOT NULL , active int NOT NULL , PRIMARY KEY (id)) ENGINE=InnoDB COLLATE=utf8_unicode_ci;...
Spinks asked 8/6, 2014 at 13:43

4

Solved

Im using mariadb with heidisql to execute sql: DECLARE @AccountID INT; Insert Into accounts(first_name, mi, last_name, email, is_admin, is_enabled, date_created) Values('testfirstname', 'a', 'tes...
Horticulture asked 12/1, 2014 at 1:38

4

Just like title say. I am using HeidiSQL, and i wan't to duplicate a database so i export the database, create a new empty with name "test". Then i change the name of the database to "test" in the ...
Bede asked 13/2, 2015 at 19:42

1

Solved

I'm using a stored procedure in a Spring Boot project and trying to get an output value, but in my project it always returns null. But if I'm calling the procedure through HeidiSQL it works and giv...
Philipson asked 16/8, 2019 at 15:48

3

I've been trying to add a foreign key to my table using heidisql and I keep getting the error 1452. After reading around I made sure all my tables were running on InnoDB as well as checking that t...
Andras asked 17/4, 2013 at 3:9

5

i have a table with 3 generic keys which are also foreign keys. This is my query -- IF (EXISTS(SELECT * FROM table1 WHERE col_1 =4)) BEGIN UPDATE table1 SET col_2 = 3, col_3 = 100 WHERE co...
Chloride asked 9/1, 2014 at 10:57

2

I have declared a variable in a heidisql tab like this DECLARE total_count INT DEFAULT 0; SET total_count = 10; select total_count; but i get this error /* SQL Error (1064): You have an error...
Ruffin asked 9/10, 2014 at 7:59

2

I don't know if this is a user error on my end, or if the remote server is configured incorrectly. I was given some connection info for a server as follows: Server IP server username keyfile ...
Neibart asked 10/7, 2015 at 18:12

4

Solved

I have a local installation of MariaDB on a Windows XP. I created an empty database db_y which I wanted to populate with the tables of the database db_x which I exported as a dump-file from a MySQL...
Adherent asked 15/2, 2013 at 9:2

2

Solved

I want to import a csv file to my MySQL database with HeidiSQL. But some of my fields are empty. What could I do to let HeidiSQL know these empty values have to be seen as NULL-values? Sample of...
Poon asked 7/9, 2012 at 13:25
1

© 2022 - 2024 — McMap. All rights reserved.