When I execute the command as the documentation says: mysql --user=root --password=pass < mysql_create.sql The following error comes up: ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) What could be the problem? How can I fix it? I have 4.7 freeBSD