解决Mysql执行sakila数据库报错

今天在在使用navicat执行sakila数据库时报错,后面查资料已解决,记录一下:

1.使用mysql的source命令导入sakila-schema.sql

2.使用mysql的source命令导入sakila-data.sql(PS:如果执行数据导入的时候报错:ERROR 1436 (HY000): Thread stack overrun:  11024 bytes used of a 131072 byte stack, and 128000 bytes needed.  Use 'mysqld --thread_stack=#' to specify a bigger stack.则修改mysql的的配置文件,将my.ini配置文件的[mysqld]节点下的thread_stack 修改大一点 ,修改为256K重启后执行成功)

你可能感兴趣的:(Mysql)