How to use PhpMyAdmin to import/export from/to the server it runs on?

12,668

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

From the docs https://docs.phpmyadmin.net/en/latest/config.html#web-server-upload-save-import-directories

$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:
12,668

Related videos on Youtube

Gargaroz
Author by

Gargaroz

Updated on September 17, 2022

Comments

  • Gargaroz
    Gargaroz over 1 year

    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?

  • JohnnyFaldo
    JohnnyFaldo almost 8 years