Installing RMySQL Package

I got an error trying to install.packages("RMySQL")

connection.c: In function ‘RS_MySQL_moreResultSets’:
connection.c:224:3: error: unknown type name ‘my_bool’
   my_bool           tmp;
   ^

RMySQL is being phased out in favor of the RMariaDB package (according to the README):

NOTE: this package is being phased out in favor of the new RMariaDB package.

So, you might want to move in that direction:

Okay I'm going to try that.

Hi Mara, thank you for your reply. I tried installing RMariaDB and I'm getting errors installing in.

In file included from MariaResultPrep.h:6:0,
                 from DbResult.cpp:4:
MariaBinding.h:14:15: error: ‘my_bool’ was not declared in this scope
   std::vector<my_bool> is_null;
               ^
MariaBinding.h:14:22: error: template argument 1 is invalid
   std::vector<my_bool> is_null;
                      ^
MariaBinding.h:14:22: error: template argument 2 is invalid
In file included from MariaResultPrep.h:9:0,
                 from DbResult.cpp:4:
MariaRow.h:18:15: error: ‘my_bool’ was not declared in this scope
   std::vector<my_bool> nulls_, errors_;
               ^
MariaRow.h:18:22: error: template argument 1 is invalid
   std::vector<my_bool> nulls_, errors_;
                      ^
MariaRow.h:18:22: error: template argument 2 is invalid
make: *** [DbResult.o] Error 1
ERROR: compilation failed for package ‘RMariaDB’

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.