14.04 - How import mysql file to phpmyadmin with terminal - Ask Ubuntu


i trying import sql file phpmyadmin, am't able connect mysql in terminal using below command.

cd /opt/lampp/mysql 

default command line method import exported sql file:

mysql -u {user} -p {database_to_import_into} < /dir/to/file.sql 

the database needs exists before this.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User