VTK/Tutorials/SQLSetup

From KitwarePublic
< VTK‎ | Tutorials
Jump to navigationJump to search

If you get the error: Unsupported protocol: mysql It means you must recompile VTK with VTK_USE_MYSQL = ON

If you get the error: vtkMySQLDatabase::New() is not defined It means that cmake did not find your mysql include and library path correctly (ie. MYSQL_INCLUDE_DIRECTORIES, etc)

If you get the error: Unsupported protocol: mysql It means you must recompile VTK with VTK_USE_MYSQL = ON

If you get the error: vtkMySQLDatabase::New() is not defined It means that cmake did not find your mysql include and library path correctly (ie. MYSQL_INCLUDE_DIRECTORIES, etc) Fix by running: sudo yum install mysql* sql* and then reconfiguring and rebuilding VTK.

If you get the error: vtkMySQLDatabase (0x9647918): Open() failed with error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) The database server is not running. To fix this, run sudo service mysqld start