You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m running into an interesting situation where I can connect to my database, but the database appears empty.
I first ran dbCanConnect, which returns TRUE. I then connected using dbConnect, and just to check my database, I ran the following query:
dbFetch(dbSendQuery(conn, "SHOW TABLES;"))
I’ve verified using MariaDB Server (on Mac) that my database isn’t empty. It contains 15 tables, but the query above displays a column of 15 zeroes in RStudio, like so:
Tables_in_db102030405060708090100110120130140150
Since I know the actual names of the tables, I tried accessing one using
dbFetch(dbSendQuery(conn, "SELECT * FROM table;”))
Again, the structure was what I expected (same # of rows and same columns), but the table was empty.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
Hello,
I’m running into an interesting situation where I can connect to my database, but the database appears empty.
I first ran dbCanConnect, which returns TRUE. I then connected using dbConnect, and just to check my database, I ran the following query:
I’ve verified using MariaDB Server (on Mac) that my database isn’t empty. It contains 15 tables, but the query above displays a column of 15 zeroes in RStudio, like so:
Since I know the actual names of the tables, I tried accessing one using
Again, the structure was what I expected (same # of rows and same columns), but the table was empty.
Any idea why this might be happening? Thanks!
~~
@daniellebraun
The text was updated successfully, but these errors were encountered: