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

nvidia - NV18 [GeForce4 MX 4000] driver - Ask Ubuntu

drivers - No wi-fi network after install - Ask Ubuntu