MOTOSHARE 🚗🏍️

Rent Bikes & Cars Directly from Owners

Motoshare connects vehicle owners with people who need bikes and cars on rent. Owners earn from idle vehicles, and renters get flexible ride options.

Visit Motoshare

PHP: maximum execution time when importing .SQL data file (Maximum execution time of 300 seconds exceeded)

Laravel

When you install first-time XAMPP and import a large file in the database the that if Maximum execution time of 300 seconds exceeded will be showing this type of error in your database:

So, There’s a configuration variable within the phpMyAdmin directory that you can find in below path-

“C:\xampp\phpMyAdmin\libraries\config.default.php”

after find this below line-

“$cfg[‘ExecTimeLimit’] = 300;”

and replace below line-

“$cfg[‘ExecTimeLimit’] = 0;”

that you can set to whatever maximum execution time you need. After that your problem will be solved.