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

debian - Kali Linux - Debootstrap error Failed to determine codename for the release - Super User

crash - Windows Rundll32 (child process of DllHost) is crashing. How can I even identify it? - Super User

Windows XP installation, no previous version of Windows NT - Super User