Getatlas Om2xdt0fss
Help CenterTroubleshooting & SupportCommon error messages and solutions

Common error messages and solutions

Last updated August 24, 2024

Common Error Messages and Solutions in MindsDB

While MindsDB strives for a smooth user experience, you might encounter error messages during your interactions. This guide provides solutions for some common error messages, helping you troubleshoot issues and get back on track.

Common Error Messages and Solutions

  • `Error: Connection not found.`:
  • This error indicates that the specified database connection does not exist.
  • Solution:
  • Check if you have correctly created the connection using `mindsdb connect` or verify the connection name in your commands.
  • `Error: Model not found.`:
  • This error means the model you are trying to access doesn't exist.
  • Solution:
  • Use the `mindsdb models` command to list existing models and ensure the correct model name is used in your commands.
  • `Error: Database driver not found.`:
  • This error occurs if the necessary driver for your database is not installed.
  • Solution:
  • Install the appropriate driver for your database (e.g., `psycopg2` for PostgreSQL, `mysql-connector-python` for MySQL).
  • `Error: Invalid input data.`:
  • This error message suggests the data you are trying to use is not compatible with the expected format or schema.
  • Solution:
  • Ensure your data aligns with the model's requirements. Verify column names, data types, and the presence of any required columns.
  • `Error: Model training failed.`:
  • This error could indicate problems during model training.
  • Solution:
  • Check the model training log (usually within the MindsDB shell) for specific error messages.
  • Consider adjusting training parameters, such as hyperparameters, algorithm selection, or the amount of training data.
  • `Error: Out of memory.`:
  • This error can occur if you are using a large dataset or complex model that requires more memory than your system can provide.
  • Solution:
  • Reduce the size of your dataset or simplify your model.
  • Consider using a machine with more RAM or utilizing a cloud environment with more computing resources.
  • `Error: Network connection error.`:
  • This indicates a problem connecting to the MindsDB server.
  • Solution:
  • Verify your internet connection and ensure the MindsDB server is running and accessible.
  • `Error: Permission denied.`:
  • This error could indicate a permission issue accessing files or resources.
  • Solution:
  • Check the permissions for the relevant files and directories and ensure that the user has the necessary access.

Getting More Help

  • MindsDB Documentation:
  • Consult the official MindsDB documentation, which provides detailed error descriptions and solutions.
  • Community Forums:
  • Join the MindsDB community forums where you can ask for help and find solutions to common issues.
  • GitHub Issues:
  • Report issues or bugs on the MindsDB GitHub repository for developers to address.
Was this article helpful?