MySQL工作台,无法创建表错误#1050

时间:2017-03-24 07:25:15

标签: mysql mysql-workbench

with "drop table if exists student"

without "drop table if exists student"

所以,我将数据库连接到amazon rds。 我想找到避免错误的方法而不使用" drop和flush"。 我花了几天时间才找到解决方案,但我还没找到。 谢谢你的帮助!

1 个答案:

答案 0 :(得分:0)

我认为你要找的是CREATE TABLE IF NOT EXISTS Student

对于整个mysql create table语法,请查看official documentation