Questions tagged [rmysql]

An R package for interfacing with MySQL and MariaDB databases.

RMySQL is an package providing an interface to and databases. RMySQL uses the interface which is also used by the packages , , , and .

Repositories

Other resources

Related tags

418 questions
0
votes
1 answer

Connection to a remote MySQL Database via RODBC returning 0 rows

I am using Windows 10 64-bit. I downloaded a MySQL 64-bit ODBC driver and set it up via Administrative Tools -> ODBC drivers. I put the IP address of the MySQL database, id and password and then clicked on "Test" which verified that the connection…
Adit Sanghvi
  • 142
  • 1
  • 2
  • 12
0
votes
1 answer

RMySQL via ssh tunnel

I'm using RStudio on OSX and have a local vm running Ubuntu. I'm having issues with RMySQL connecting to mysql running on the local vm via ssh. I've tried forwarding port 3307 via ssh -L 3307:d.local.internal.com:3306…
0
votes
1 answer

R use values in vector to become name of dataframe

I am getting the names of tables from a database and I want to select all the data from each table and create a dataframe automatically. The code nm = dbListTables(connection) creates a vector like: [1] "Account" …
Spruce Island
  • 425
  • 1
  • 4
  • 10
0
votes
1 answer

Rmysql connection failing

The sysadmin just made SSL connection compulsory and since then I'm not able to access the mysql db anymore from R (even if I'm able to access it through Workbench) using the package RMysql. I tried multiple options without success and here is the…
apz_fed
  • 15
  • 1
  • 6
0
votes
2 answers

Connecting to a remote database using RMySQL - access denied

I am trying to connect to a remote mysql database by the following steps SSH into their machine and keep the tunnel open then, Using a SQL client (Sequel Pro) or RMySQL through RStudio Using the SQL client I can connect to their database and…
DonDyck
  • 1,451
  • 5
  • 20
  • 35
0
votes
1 answer

connecting to remote database via opencpu javascript R libarary and rmysql library for mysql

I have a peculiar problem while trying to accessing database on remote server via opencpu javascript library for R and RMySQL library. Particularity, I have written R function that uses RMySQL library to access data from remote mysql server. And I…
Vinay
  • 27
  • 1
  • 6
0
votes
0 answers

How to use dynamic variable in RMySQL LIKE Statement

I'm trying to create a query my MySQL database using RMySQL. I want to find all queries that contain a variable I provide through R. For example: z="name" dbSendQuery(conn, "SELECT Address FROM Test WHERE Business Like '%z%'") Wher conn is my…
BioBaker
  • 13
  • 4
0
votes
0 answers

Plotting MySQL data with shiny

I'm trying to plot my data from the sensor i choose in the SelectInput, so far i have no errors but also no plot. So when someone visits the page, he can select a sensor en the data of that sensor will be plotted on the Y-axis and the timestamp on…
Maarten
  • 1
  • 2
0
votes
0 answers

RMySQL package for R: installed but not loaded

I am working on R under CentOS 6.7, and I need to gain access to a MySQL database. I successfully downloaded and installed the two packages "DBI" and "RMySQL", but whenever I try to load the library into the R script, I get an error message that…
Bayan
  • 93
  • 1
  • 10
0
votes
1 answer

Cannot load library RMySQL

I've been trying to access a MySQL database using R (using Ubuntu 12.04), which I feel should be a rather natural thing to do as R is a statistical language. Yet, it seems like pulling teeth. It seems that the only library that does not run into…
Nathan Goedeke
  • 115
  • 1
  • 8
0
votes
1 answer

R, Install "RMySQL" On MAC - curl: (23) Failed writing body

I'm attempting to install the RMySQL package in R using a MAC running OS X El Capitan but receive errors that I haven't seen before. See below: MySQL and Curl are installed. I've tried a few things such as uninstalling and re-installing MySQL and…
pol_guy
  • 457
  • 3
  • 8
  • 20
0
votes
1 answer

Select data from one data source and store it in another

I am using RODBCext to create a parameter query to retrieve data from a DB2 mainframe. I want to insert that data into a table in a local MYSQL (on the same network) to be able to access the data much more quickly and on the fly with a Shiny app.…
cowboy
  • 613
  • 5
  • 20
0
votes
1 answer

Store rows from a dataframe in a database

I have a dataframe that I would like to upload to a cloud environment. Im already connected to the database and now would like to "write away" the records. I have a dataframe that looks like this: #df a b 1 3 11 2 4 12 And try to add it to the…
John Dwyer
  • 189
  • 2
  • 13
0
votes
1 answer

delete selected row of table from database in shiny app

I want to delete the selected row from MySql Database when Click on delete button in my shinyapp. The codes of ui.r and server.r are as following: It is connected to MySQl and I can save data to mySQL but I cannot delete and Update the table. 1:…
user
  • 592
  • 6
  • 26
0
votes
0 answers

MySQL Table not found in Shiny App ('object' not found error, but table exists in MySQL)

I have a Shiny app that is supposed to collect data in a form and appends it to a data table, test, in MySQL. I am using RMySQL to port into the database. The app should also show the dataframe. I use 'save' and 'load' functions to accomplish this,…
user3795577
  • 187
  • 1
  • 18