Try to import a Database using SSH but I receive a error message 2002

Im trying to import a database using SSH using the follow command:

mysql -u[user] -p [database] < data.sql

but i receive a Error 2002, any idea how to import the database using ssh?


You will want to make sure the DNS for the hostname is pointing to DreamHost. Alternatively, you can use the IP for the hostname if the domain isn’t pointed to DreamHost.

We also have a help guide on importing your database via SSH:

If you are still running into issues, please contact support from your panel here:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.