I have a Google Cloud SQL instance that I'm having trouble manipulating.
Originally I had a database uploaded to the instance. I have been trying to drop and replace that database with a new database of the same name. This has since given me a few problems...
- The database is ~500KB. Cloud SQL reports that I'm using ~50MB of data.
- The instance contains several other expected databases (performance_schema, information_schema, mysql). I'm unsure if these were accidentally uploaded from my local MySQL instance and if there are subsequent problems from overwriting these databases.
- I now keep getting client-side errors (caught and reported by Google) in the Cloud SQL console.
- The operations panel reports unknown errors next to all my attempts to upload the database from a
.sql
file. No errors reported for attempts from files without an extension.
I have no idea where to begin, so any help is appreciated. Right now, I am worried most about the miscalculation of storage usage, as I don't want to explain unexpected increases in billing.
--
Update:
I created the database in phpMyAdmin and exported it using the export tab. The "~500KB" is the size of the exported file. I originally assumed that all my failed uploads were still being saved, but unaccessible and therefore unremovable.
I'm still skeptical that all three extra databases are necessary, mostly because I found (through a possibly unreliable source) that Cloud SQL does not use performance_schema.
The error messages do not contain any useful information. Client-side errors include (paraphrased) "There was a problem with the console, please refresh the page" or "Google has encountered a client-side error", both in the Cloud SQL page of the developer console. Server-side errors are only found in the Operations section under the "Message" column and just say "an unknown error has occurred".