SQLSTATE[HY000] [2002] No such file or directory

If Joomla and WordPress are not installed on the same host, you can do this:

  • export the Joomla database to a SQL file (with phpMyAdmin for example)
  • import this SQL file on the same database as WordPress
  • run the migration by using WordPress database credentials (host, user, password, database) instead of the Joomla ones in the plugin settings. You can find the WordPress credentials in the wp-config.php file.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer