Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql 命令行执行 sql/ry_20240601.sql 报错 #254

Open
Onlylonger opened this issue Sep 22, 2024 · 0 comments
Open

mysql 命令行执行 sql/ry_20240601.sql 报错 #254

Onlylonger opened this issue Sep 22, 2024 · 0 comments

Comments

@Onlylonger
Copy link

期望

希望ry初始化表结构和数据

结果

当使用 mysql -u root -p ry < ./sql/ry_20240601.sql 执行的时候,报错提示 ERROR 1406 (22001) at line 27: Data too long for column 'dept_name' at row 1

截图如下:

image

mysql版本以及步骤:

$ mysql --version
C:\Program Files\MySQL\MySQL Server 8.0\bin\mysql.exe  Ver 8.0.39 for Win64 on x86_64 (MySQL Community Server - GPL)
  1. git clone https://github.com/yangzongzhuan/RuoYi.git
  2. IDEA terminal 新建 git bash 命令行窗口
  3. 执行 mysql -u root -p ry < ./sql/ry_20240601.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant