Import MySQL Database with Lampp Posted bypatrick July 29, 2017 Leave a comment on Import MySQL Database with Lampp mysql -u root --socket=/opt/lampp/var/mysql/mysql.sock --database=*database* < *sqlfile*