Guest User

Untitled

a guest
Mar 1st, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. library(pool)
  2.  
  3. pool <- dbPool(
  4. drv = RMySQL::MySQL(),
  5. dbname = "db_nmae",
  6. host = "0.0.0.0",
  7. port=1234,
  8. username = "use",
  9. password = "pass"
  10. )
  11.  
  12. Error in loadNamespace(name) : there is no package called ‘RMySQL’
  13.  
  14. install.packages("RMySQL")
  15.  
  16. ------------------------- ANTICONF ERROR ---------------------------
  17. Configuration failed because no mysql client library was found. Try installing:
  18. * deb: libmariadbclient-dev | libmariadb-client-lgpl-dev (Debian, Ubuntu)
  19. * rpm: mariadb-connector-c-devel | mariadb-devel | mysql-devel (Fedora, CentOS, RHEL)
  20. * csw: mysql56_dev (Solaris)
  21. * brew: mariadb-connector-c (OSX)
  22. If you already have a mysql client library installed, verify that either
  23. mariadb_config or mysql_config is on your PATH. If these are unavailable
  24. you can also set INCLUDE_DIR and LIB_DIR manually via:
  25. R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
  26. --------------------------------------------------------------------
  27.  
  28. If you already have a mysql client library installed, verify that either
  29. mariadb_config or mysql_config is on your PATH. If these are unavailable
  30. you can also set INCLUDE_DIR and LIB_DIR manually via:
  31. R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
  32. --------------------------------------------------------------------
  33.  
  34. project/packrat/src/RMySQL/RMySQL_0.10.9.tar.gz
Add Comment
Please, Sign In to add comment