I have a sql file from a previous mediawiki installation. How do I import those records into a new installation?
Topic on Project:Support desk
The easiest way is to use MySQL from the commandline like so:
mysql -u my-mysql-username -p my-database-name < name-of-sql-file.sql
This will import the file name-of-sql-file.sql into the database my-database-name.
Look at Manual:Restoring a wiki from backup, although importing a SQL file into a database is not a mediawiki specific question.