MySql import (Ex: Error on first start up)

Following the directions here:

Openfire: Database Installation Guide

I am trying to import the schema and I get this error:

mysql> type openfire_mysql.sql | mysql openfire;

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that

corresponds to your MySQL server version for the right syntax to use near 'type

openfire_mysql.sql | mysql openfire’ at line 1

mysql>

Am I doing something wrong here?