Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When I choose to import/export a data script with PhpMyAdmin, it offers me to upload/download a file with my browser from/to my PC where I access it from. But I'd like to load/save the file from/to the file system of the server where the MySQL server and PhpMyAdmin run. Is this possible?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Yes, you can set a directory to import files from in the phpMyAdmin config file...

From the docs http://www.phpmyadmin.net/documentation/#cfg_UploadDir

$cfg['UploadDir'] string The name of the directory where SQL files have been uploaded by other means than phpMyAdmin (for example, ftp). Those files are available under a drop-down box when you click the database or table name, then the Import tab.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.