Google Cloud SQL: keeping dev and live databases updated - mysql

I have a local MySQL dev instance that I've been developing with and now I want my local MySQL table changes to be made in the live Google Cloud SQL instance that I have connected in my Google Plugin for Eclipse. I can't figure out how to do this except for a full dump and import. Is there another/better way? Ideally, database versioning would be great, but I don't think that exists with Google Cloud SQL.

Related

Connecting PowerBi report to mysql google cloud in order to have an automatic PowerBi service refresh

Connecting PowerBi report to mysql google cloud in order to have an automatic PowerBi service refresh .
I' have tried to connect my msql database to an odbc driver and then connected to power bi it worked but only when i m online i want a solution to refresh my report even when my pc is off
thank for helping me i really need a solution as soon as possible.
I am even new to this. If you are using direct Query to get the data from the database it will be possible to refresh the Data even if the PC is off.
As far I know, in Power Bi desktop it doesn't support connect to ODBC data source using DirectQuery mode because for some data sources, an alternative approach is available: connect directly to the data source using DirectQuery.
I could help you with the reference which might help you to set it up: Enabling Direct Query for an ODBC based connector.

How to synchronize IndexedDB with MySQL uploading a specific table?

I am developping a offline web app with NodeJS. I managed to store the data I wanted to a IndexedDB database with Service Workers. But I can't synchronize them with my MySQL remote server. I was wondering what was the most feasible solution ?
I tried implement this solution of a tutorial in my app but without success. This is the link of the tutorial:https://codeforgeek.com/sync-app-mysql-indexeddb/

How to upload user defined function to Google cloud MySQL instance

I am running a MySQL database instance on Google Cloud, and I am currently trying to upload a shared library file (my_library.so) to my plugin directory, so that I can declare it as an user-defined function to call in MySQL queries.
Does someone know how to do it?
It seems that the Google cloud console does not give me access to the files in my instance. Also, I have not been able to upload it using MySQL workbench.
Thank you
Cloud SQL does not support uploading compiled code.

Shift from phpmyadmin as Server to Google Cloud platform as server?

Currently I am using PhpMyAdmin as my server. Now I want to shift to Google cloud as my server.
I have few php files which are called as url from android app, these php file connects to mysql database and returns result back. Relative paths of images are stored in the database and these images are stored on server.
I am not able to figure out how I can perform same thing with Google cloud. I tried to upload same php file on google cloud and database to google cloud sql. But, I don't know how to access relative path images or individual php files, and I am lost as I am new to Google cloud.
Can someone please help? Thank you!
You'll probably want to use Google Cloud Storage:
https://cloud.google.com/appengine/docs/php/googlestorage/
Your site users can't upload their files directly to App Engine, so you can let them upload to Cloud Storage and then keep the metadata in your Cloud SQL.

Migrate data from MySQL to Google App Engine (Python) Data Store

I have a legacy website created in PHP and MySQL. I wish to migrate this onto Google App Engine (Python).
Has anybody done this before? Any examples, tips, resources, tools you'd like to share?
I believe I will have to use "bulkloader" introduced in the GAE docs. Still haven't figured out how to get started.
I have two tasks:
Migrate from MySQL DB to local GAE App data store
Convert from MySQL -> CSV/XML -> Production data store
Help will be appreciated! :-)
--Sri
GAE now supports PHP (experimental) and CloudSQL which is very similar to MYSQL. I am currently writing a few testing apps. You can try to apply here.
To enable your PHP applications to be deployed to App Engine, visit https://gaeforphp.appspot.com/ to register your application to be whitelisted
Try from a regular gmail account.