Skip to content

could not run statement: The used command is not allowed with this MySQL version #180

Open
@mislav0207

Description

@mislav0207

Hi,

I am using RMySQL package to write (append) data in current table.
I am using R, version 3.3.2.

My code looks like this:

library(RMySQL)
df_final <- some_data
m<-dbDriver("MySQL")
mydb <- dbConnect(m, user='odvjet12_mislav',
                  password='my_pass', 
                  host='91.234.46.219', 
                  dbname='odvjet12_fina_pn')

dbWriteTable(mydb, value = df_final, name = "fina_pn", append = TRUE, row.names = FALSE)

This code works fine for some time, but in last ten days, it always return an error:

Error in .local(conn, statement, ...) : 
  could not run statement: The used command is not allowed with this MySQL version

I don't understand how it is possible for code to work for some time and now, it returns an error?

I kindly ask for feedback on this issue.

Best,

Mislav Šagovac

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions