Import SQL-File to Table with MySQL from Command Line

alias pma='mysql -u [username] -p[password] -h [host]' # connect with localhost pma [database] < ~/Downloads/db381516_2.sql # import sql-file into db

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.