Before cracking a wpa/wpa2 password with a database you have to tell airolib-ng to compute the password and essids which you have inserted into it (this can take a long time depending on the number of the passwords and essids). To batch your database run the following command:
airolib-ng <dbname> --batch



