Bug #119155 How are we able to pass String values while using the INT data type
Submitted: 14 Oct 2025 15:07
Reporter: Aman Pal Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Server Severity:S7 (Test Cases)
Version:8.0.43 OS:Windows (Microsoft Windows 10 Pro)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[14 Oct 2025 15:07] Aman Pal
Description:
----[For better reports, please attach the log file after submitting. You can find it in C:\Users\callm\AppData\Roaming\MySQL\Workbench\log\wb.log]

[6, 20:36:14] Drop database office: Running...
[6, 20:36:14] Drop database office: 1 row(s) affected
[1, 20:36:20] CREATE database office: Running...
[1, 20:36:20] CREATE database office: 1 row(s) affected
[2, 20:36:23] USE office: Running...
[2, 20:36:23] USE office: 0 row(s) affected
[3, 20:36:26] CREATE table employees (Emp_ID INT primary key not null, Emp_Name char(255), Emp_email varchar(100), Emp_Department int): Running...
[3, 20:36:26] CREATE table employees (Emp_ID INT primary key not null, Emp_Name char(255), Emp_email varchar(100), Emp_Department int): 0 row(s) affected
[4, 20:36:28] INSERT into employees VALUES ("001", "Mota", "M@gmail.com", 2): Running...
[4, 20:36:28] INSERT into employees VALUES ("001", "Mota", "M@gmail.com", 2): 1 row(s) affected

How to repeat:
CREATE database office;
USE office;
CREATE table employees (Emp_ID INT primary key not null, Emp_Name char(255), Emp_email varchar(100), Emp_Department int);
INSERT into employees VALUES ("001", "Mota", "M@gmail.com", 2); 
INSERT into employees VALUES ("000", "Mota", "M@gmail.com", 2); 
INSERT into employees VALUES ("", "Mota", "M@gmail.com", 2); 
Drop database office;
select *from employees;

Suggested fix:
AN error message should pop up, or we should not be able to pass a string in INT datatype.