With the development of computer science and the advent of big data era, the application system has appeared the situation of mass data and user access. As a result, the original relational database (RDBMS) of enterprise application system is under the burden of greater load, The system"s high-performance requirements can not be met effectively. For the problems faced by the relational database, the HBase database in the Hadoop platform can be effectively solved. Based on the research on the MySQL database in the relational database and the HBase database in the distributed database on the Hadoop platform, this paper proposes a method of data migration from the relational database (MySQL database) to the distributed database (HBase database) based on the massive growth of enterprise application data. And through learning HBase database storage principle, proposing the table mode conversion principle from MySQL to HBase which could achieve efficient data query performance on data migration. Finally, the method is compared with Sqoop, a similar data migration tool, to demonstrate the ease with which the method can be migrated and the efficiency of the connection queries in the migrated database.