swri-robotics/toolpath_offline_planning

when run the launch file ,QSqlDatabase: QMYSQL driver not loaded Failed to connect to database

Opened this issue · 1 comments

roslaunch opp_startup planner_application.launch
... logging to /home/tmirobot/.ros/log/485ee656-77d5-11eb-8e32-0c54158d601c/roslaunch-tmirobot-NUC8i7HNK-2233.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://tmirobot-NUC8i7HNK:36493/

SUMMARY

PARAMETERS

  • /rosdistro: kinetic
  • /rosversion: 1.12.17

NODES
/
mesh_segmenter_server_node (noether/segmentation_server)
rviz (rviz/rviz)
tool_path_planner (noether/tool_path_planner_server)

auto-starting new master
process[master]: started with pid [2244]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 485ee656-77d5-11eb-8e32-0c54158d601c
process[rosout-1]: started with pid [2257]
started core service [/rosout]
process[rviz-2]: started with pid [2260]
process[tool_path_planner-3]: started with pid [2261]
process[mesh_segmenter_server_node-4]: started with pid [2274]
[ INFO] [1614304349.937240492]: rviz version 1.12.17
[ INFO] [1614304349.937276145]: compiled against Qt version 5.5.1
[ INFO] [1614304349.937285129]: compiled against OGRE version 1.9.0 (Ghadamon)
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
[ INFO] [1614304350.089736088]: Stereo is NOT SUPPORTED
[ INFO] [1614304350.089796600]: OpenGl version: 3 (GLSL 1.3).
[ INFO] [1614304350.136121990]: Segmentation action server online
libpng warning: iCCP: known incorrect sRGB profile
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QPSQL QPSQL7
[ERROR] [1614304350.654283959]: Failed to connect to database
QSqlQuery::exec: database not open

ok , when I sudo apt-get install mysql-server mysql-client