import mysql database exported with phpmyadmin into local lamp stack

前端 未结 1 835
[愿得一人]
[愿得一人] 2021-01-24 07:35

I exported mydb.sql from phpMyAdmin. It is about 0.9GB in size.

I copied mydb.sql onto an external hard drive, plugged that drive into another computer on which I just i

相关标签:
1条回答
  • 2021-01-24 08:13
    ERROR 1064 (42000): You have an error in your SQL syntax;
    check the manual that corresponds to your MySQL server version for the right syntax to use near 
    '<br /><b>Fatal error</b>:  Maximum execution time of 300 seconds exceeded in <b' at line 83
    

    This line should not be in your mydb.sql. This question has been tagged phpmyadmin so it's easy to guess that the data was exported with it but the script was terminated when it reached 300 seconds which is the max allowed on your server.

    You have two options:

    1) change your php.ini to increase the max execution time

    2) dump the database using mysqldump

    0 讨论(0)
提交回复
热议问题