Import from obsolete MySQL server

I am trying to import some data from a quite old XOOPS site, working on MySQL 4.0.24 servver. I have created a special class (extension from CActiveRecord) with changed version of getDbConnection() method. Unfortunately, I recieve this error statement:

Could you please tell me what are the possible ways to deal with it?

use the old method to connect to the old database - mysql_connect - http://php.net/manual/en/function.mysql-connect.php

Yes, only it breaks the beauty of PDO model used in Yii :) For now I have just copied data from the original database to newer server. It works for me since this import will be done only once.