Failed to import gs://kmitl/president.sql: An unknown problem occurred (ERROR_RDBMS)

288 views
Skip to first unread message

Rast Rastapana

unread,
Jul 2, 2012, 7:18:48 AM7/2/12
to google-cloud...@googlegroups.com
I'm trying to import SQL file (.sql)  from database into Google Cloud SQL via Google cloud storage by using Python and Gsutil (Follow in Google importing data steps) then we can upload data file successfully.
By the way,we can't import data from Google cloud Storage to my cloud SQL ,

Error message :Failed to import gs://kmitl/president.sql: An unknown problem occurred (ERROR_RDBMS)
However looking solving problem (upgrade instance etc.) from this discussion group,I can't solve this problem .

Have anyway to solve this problem? from this error,what problem made it like this?
I apologize for asking the same question ,but i'm beginner to research on Google cloud SQL.

Best regards.

Tony Tseng

unread,
Jul 2, 2012, 1:27:39 PM7/2/12
to google-cloud...@googlegroups.com
Hi,
What's the name your instance?
Message has been deleted
Message has been deleted

Rast Rastapana

unread,
Jul 2, 2012, 9:46:43 PM7/2/12
to google-cloud...@googlegroups.com

Razvan Musaloiu-E.

unread,
Jul 2, 2012, 11:08:48 PM7/2/12
to google-cloud...@googlegroups.com
Can you check that the .sql file contains a 'use XXX'?

From the error logs:

  Could not execute statement: DROP TABLE IF EXISTS `test1`

-- Razvan ME

Rast Rastapana

unread,
Jul 3, 2012, 6:35:07 AM7/3/12
to google-cloud...@googlegroups.com

Obviously ,we forgot using 'USE statement' command on .sql file .
Now , We can import this file into Cloud SQL already 
Thank you for your reply and recommendation  Mr.Razvan Musaloiu-E.   :)



เมื่อ วันจันทร์ที่ 2 กรกฎาคม ค.ศ. 2012, 18 นาฬิกา 18 นาที 48 วินาที UTC+7, Rast Rastapana เขียนว่า:
Message has been deleted

Brent Chang

unread,
May 25, 2018, 9:20:53 AM5/25/18
to Google Cloud SQL discuss
I've got the almost same error when I import SQL file from GCS,
but it just shows "An unknown error occurred." 

My instance connection name is cojaft:asia-east1:cojaft-database

I couldn't find any information about what happened in error log.
Cloud anyone help me to find out how to solve?

Regards,
Brent

Rast Rastapana於 2012年7月2日星期一 UTC+8下午7時18分48秒寫道:
Reply all
Reply to author
Forward
0 new messages