LordGrim
LordGrim

Reputation: 751

Uploading Large database in phpMyAdmin

I am using Apache, MySQL and phpMyAdmin. So my sql file now is large and once I exported it I can't import it in another machine. I am using iMAC and MacBook Pro.

I also tried to change the following in /etc/php.ini

Then "sudo apachectl restart".

But It didn't work and I still cannot import my large database. enter image description here

I also tried to upload my sql file in my terminal and it didn't work also.

Thank you

Upvotes: 1

Views: 258

Answers (1)

Hemant Hingave
Hemant Hingave

Reputation: 126

open mysql command prompt, and write following command, try thi

use database_name;
source path/of/sqlfile.sql

Upvotes: 1

Related Questions