d1-manager icon indicating copy to clipboard operation
d1-manager copied to clipboard

no tables populated in DB

Open patrickjquinn opened this issue 1 year ago • 5 comments

I have a DB bound to my page deployment for the manager but when I select it in the interface, I'm greeted with the DB title up top, the query field and no tables.

When I download the DB from the "download" button and open it up I get "{"success":false,"error":"Route not found"}"

patrickjquinn avatar Jan 20 '24 11:01 patrickjquinn

+1 Facing the same issue

itsmereal avatar Jan 24 '24 11:01 itsmereal

I just added some server logs. Can you try to re-deploy and tail the logs with wrangler pages deployment tail? (See an example here.)

Additionally, if you have any special characters in the table name, please let me know.

JacobLinCool avatar Jan 24 '24 11:01 JacobLinCool

遇到相同的问题,没有可选的数据库 image image image

osen77 avatar Apr 14 '24 14:04 osen77

+1 the same isssue use wrangler pages deployment tail ,get log here

(debug) d1-manager:dbms Database Bindings: +0ms

jiangsi avatar Sep 03 '24 02:09 jiangsi

set D1 database bindings before you deploy the workers you will find the table

if want to change or add DB , you can git pull ,change some code ,and commit and push . the workers will rebuild and deploy again . and then ,you will find out the DB table you added

jiangsi avatar Sep 08 '24 00:09 jiangsi