Import data file into myphpadmin from cpanel file directory
Hello,
I am new to cpanel - and this forum! Hello!
I am trying to import a data file into one of my databases (in phpMyAdmin) and the file is located in my cpanel file directory. I was wondering how this is done. It seems like the Import function is suited for importing from your computer. How do you access the file in the cpanel directory?
Note: The restriction is that I do not want to download the file to my computer and then import it into the myphpadmin.
Thanks in advance!
-
Hello :) Yes, you must have the file stored locally on your computer when using that feature in phpMyAdmin. You can download the file through File Manager in cPanel, or import the database dump via the command line. EX: mysql database_name < /path/to/dump.sql
Thank you.0
Please sign in to leave a comment.
Comments
1 comment