Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMariaDB support - dbWriteTable (The used command is not allowed with this MariaDB version) #79
Comments
|
Thanks. Which version of MariaDB are you using? |
|
I am using version 5.5.24, 5.5.30 of MariaDB. |
|
Hi, "delete table" is not valid SQL - It should be "drop table". thanks, Philip On Fri, Oct 30, 2015 at 4:55 AM, KimYongHwan notifications@github.com
|
|
@pantoniades Could you please be a bit more specific? |
|
Hi, The code sample given above is:
The correct statement (for any version of MySQL) should be: dbGetQuery(con,"DROP table locationtag_scores"); You can alternately use "DELETE FROM locationtag_scores", though that will Philip On Thu, Nov 5, 2015 at 12:16 PM, Kirill Müller notifications@github.com
|
|
Sorry, the system variable is 'sql_safe_updates', or --safe-updates as a Philip On Thu, Nov 5, 2015 at 2:26 PM, Philip Antoniades philip@antoniades.com
|
|
Thanks, this makes sense now. I think, |
|
From my server (mysql 5.7): mysql> delete from temp; mysql> delete temp; mysql> set session sql_safe_updates = 1; mysql> delete from temp; You can see the different messages. Philip On Thu, Nov 5, 2015 at 2:39 PM, Kirill Müller notifications@github.com
|
|
Moved to rstats-db/RMariaDB (see link above). |
I have troubling with inserting dataframe to mariaDB.
Except for dbWriteTable function, insert/get commands are working.